Saturday, 13 September 2014

Eclipse : Tomcat 7 blank server name

20:03:00 Posted by Kumanan

I was trying to add Tomcat 7 in my Eclipse in Ubuntu. When I click "Add new server" in Eclipse and select "Tomcat v7.0 Server", the field "Server Name" is blank and I cannot type in anything in that textbox as shown below:



Solution:

Step 1 :- cd ~/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/    

Step 2 :- rm org.eclipse.jst.server.tomcat.core.prefs    
Step 3 :- rm org.eclipse.wst.server.core.prefs
After completing this, restart your Eclipse.