Eclipse - Add Server - Next Button is disabled when I select a specific Tomcat (e.g tomcat8)

I'm using Ubuntu 14.04 and Eclipse mars2 and the accepted answer for this question didn't work for me. I tried everthing from installing new software (extensions, unnecessary because mars already have native support for tomcat8), and adding/removing runtime environments without success.

It is a bug into Eclipse.

Here is the workaround that worked for me:

Close Eclipse
In {workspace-directory}/.metadata/.plugins/org.eclipse.core.runtime/.settings delete the following two files:
    org.eclipse.wst.server.core.prefs
    org.eclipse.jst.server.tomcat.core.prefs
Restart Eclipse

Source: Eclipse add Tomcat 7 blank server name

Eventhough it says tomcat 7, it worked for the same problem with tomcat 8 too.


There are a few resource on the web about this problem but no answer on SO.

If you were never add a tomcat8 to eclipse there would be no problem just like tomcat7 or tomcat6. But there is a setting about tomcat8 and that is wrong. In that menu there is no option to reconfigure settings.

Just go to Window->Preferences->Server->Runtime Environments and Remove or Edit the old, wrong settings. Then you will be able to add tomcat8 too!

Ref: http://www.codejava.net/servers/tomcat/how-to-add-tomcat-server-in-eclipse-ide


It is a bug in Eclipse. You can follow following steps for overcome this problem.

  • Close Eclipse

  • Go {workspace-directory}/.metadata/.plugins/org.eclipse.core.runtime/.settings

  • delete the following two files:

  • org.eclipse.wst.server.core.prefs

  • org.eclipse.jst.server.tomcat.core.prefs

  • Restart Eclipse

Tags:

Eclipse

Tomcat