Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add previously deleted Tomcat 7 server in Eclipse

I'm using Eclipse Luna & I added Tomcat 7 server from Eclipse. But then I deleted it & now I cannot add it back. When I click, add new server & select Tomcat 7, the server name is coming empty & I don't see "Finish" button enabled to add this Tomcat 7 server. Previously, it was showing as "Tomcat v7.0 Server at localhost" but since I deleted it, its no longer coming & I cannot add it at all.

Any help is much appreciated to add Tomcat 7 server in Eclipse.

Thanks

like image 246
Mike Powell Avatar asked Jun 26 '26 16:06

Mike Powell


1 Answers

I face the same problem before please follow this steps :

  • In Eclipse Window–>Preferences–>Server–>Runtime Environments and delete server definition from there.
  • Change directory to workspace.
  • Then under workspace folder follow this path .metadata\.plugins\org.eclipse.core.runtime\.settings folder delete org.eclipse.jst.server.tomcat.core.prefs
  • At the same directory delete org.eclipse.wst.server.core.prefs.
  • Restart Eclipse

After that try to define new server definition it should be OK.

like image 127
erhun Avatar answered Jun 28 '26 18:06

erhun



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!