I have installed:
- eclipse juno
- java-6-openjdk-i386 (selected as default JRE in Eclipse)
- java-7-openjdk-i386
When I try to add a new server Tomcat7, in Eclipse, I get this message
'Cannot create a server using the selected type'
and I can not continue. No problem adding Tomcat6 server.
I read this question but it didn't solve it for me
Best Answer
1 . To fix the error 'Cannot create a server using the selected type' run the following:
2 . Once you do this, another error
'Could not load the Tomcat server configuration at /usr/share/tomcat7/conf. The configuration may be corrupt or incomplete /usr/share/tomcat7/conf/catalina.policy (No such file or directory)'
So to fix this run the following commands:
3 . Restart server and Eclipse
4 . Add new server
Eclipse need to start the server, and to do that, first, it has to stop the one running in background.
If you don't have to automatically start at boot, we can use the following command
If, during server start, you receive warnings like:
You may also need to run the following: