1

I created a new server in eclipse but then I deleted it for some reason and now I couldn't create a new one. I got Apache Tomcat 7 but when I select Tomcat v7 server from list, Server name field is not editable.Also buttons are not working(finish,next).

My screenshot :D

Asiri Liyana Arachchi
  • 2,673
  • 5
  • 22
  • 41
hellzone
  • 5,076
  • 21
  • 77
  • 133

3 Answers3

2

Close eclipse and delete these two files and start eclipse. It worked for me.

 cd ~/eclipse_workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/
 rm org.eclipse.jst.server.tomcat.core.prefs
 rm org.eclipse.wst.server.core.prefs

If there are any more errors coming up refer to this blogpost or Eclipse 4.2 (Juno) 'Cannot create a server using the selected type' in Tomcat 7

Similar question :Eclipse add Tomcat 7 blank server name

Community
  • 1
  • 1
Asiri Liyana Arachchi
  • 2,673
  • 5
  • 22
  • 41
1

If you look at the workspace in the Navigator View (or in Windows Explorer) you see a project/folder called 'Servers'. It contains your server configurations. Empty that folder and recreate your Tomcat server.

Marcel Stör
  • 21,148
  • 15
  • 82
  • 185
0

I have solved it, just correct the user rights, for example in Ubuntu with the command:

sudo chown -R yourname:yourgroup /opt/apache-tomcat-8*
Trudbert
  • 3,098
  • 13
  • 14