Setup:
- Eclipse 3.7 + the WEB tools from the indigo update site
- Tomcat7
- Ubuntu
Problem:
When I try to add a new Tomcat 7 server in the server perspective in Eclipse I get the following error:
"Cannot create a server using the selected type"
How do I solve this?
Best Answer
This is a known issue.To resolve this error, try one or all of the following:
Window–>Preferences–>Server–>Runtime Environments
and fix the broken path/link for the server.org.eclipse.jst.server.tomcat.core.prefs
toorg.eclipse.jst.server.tomcat.core.prefs.bak
(or you can delete this file). This file can be found at\workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings
org.eclipse.wst.server.core.prefs
toorg.eclipse.wst.server.core.prefs.bak
(or delete the file). This file also can be found at the same location as above.