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).
Asked
Active
Viewed 2,991 times
1
-
have you made sure the installed runtime preference is still valid? – nitind Sep 30 '13 at 04:43
-
@nitind I have found that this is a bug in eclipse. I will change my IDE. – hellzone Sep 30 '13 at 08:45
3 Answers
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