开发环境:
Eclipse 3.7 (Indigo) Tomcat 7
问题:
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"
- Go to
Window–>Preferences–>Server–>Runtime Environments
and fix the broken path/link for the server. - Rename the
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
- Rename the
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.