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,663
  • 5
  • 24
  • 43
hellzone
  • 5,393
  • 25
  • 82
  • 148

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,663
  • 5
  • 24
  • 43
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
  • 22,695
  • 19
  • 92
  • 198
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,178
  • 14
  • 14