Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I am not able to add Tomcat Server again

I have removed my tomcat 7 server from eclipse(Kepler) and now trying to add different Tomcat 7 server in eclipse, but it is saying "The name is already in use. Specify a different name". What could be done in this case? Please suggest.

like image 288
Madhav pandey Avatar asked Dec 19 '22 22:12

Madhav pandey


2 Answers

Close Eclipse 2. 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 3. Restart Eclipse

I hope it will solve the problem as it did with me.

like image 124
Madhav pandey Avatar answered Dec 29 '22 19:12

Madhav pandey


This is a bug in eclipse.

Delete

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

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

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

Note: Sometimes you have more than one workspace. Ensure you check your current workspace and delete the above files from the correct "current" workspace.

like image 44
HopeKing Avatar answered Dec 29 '22 19:12

HopeKing