Thursday, August 29, 2013

Error when Setup Tomcat7 server in Eclipse


Eclipse 'Cannot create a server using the selected type' in Tomcat 7

When try to add a new server Tomcat7 in Eclipse I get this message
'Cannot create a server using the selected type'.

















To fix the error 'Cannot create a server using the selected type' need to run the following:

$cd /home/sanjeeva/eclipsespringworkspace/.metadata/.plugins/org.eclipse.core.runtime/.settings

$rm org.eclipse.jst.server.tomcat.core.prefs
$rm org.eclipse.wst.server.core.prefs