Setup:
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?
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
to org.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
to org.eclipse.wst.server.core.prefs.bak
(or delete the file). This file also can be found at the same location as above.