Ubuntu – tomcat7 server – can’t install into Eclipse Kepler

eclipseservertomcat7

I installed:

  • Eclipse Kepler
  • Tomcat7 at /usr/local/tomcat7

When I start tomcat $CATALINA_HOME/bin/startup.sh and go to myIp:8080 I see correct page

And now when I want to add tomcat7 at eclipse (at server view) I choose:

add new server => choose tomcat7 the finish button is disabled.

tomcat looking

I can't figure out why this happen.

I can install other servers for example – Jboss

enter image description here

But why I couldn't add new tomcat server?

How to solve this trouble?

Best Answer

It's a common bug in Eclipse. To resolve it:

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

That's all. You can check this source which refers to this other source.

Related Question