I use the development environment as follows--
System version: Ubuntu 12.10
Eclipse Version: HTTP://WWW.ECLIPSE.ORG/DOWNLOADS/PACKAGES/ECLIPSE-IDE-JAVA-EE-DEVELOPERS/JUNOSR1
Tomcat version: 7.0.35
JDK version: 1.7.0.11
After you configure JDK and Tomcat, you can start Tomcat and normal access normally. However, when configuring the Tomcat service in Eclipse, it always prompts:
Cannot create a server using the selected type
At the same time in define new server, can not choose an existing serve, entangled half a day without fruit. See such a related post (click to open the link), but did not find the article inside the file described.
The environment variable for the/etc/profile file is then reset again and executed again: source profile.
You then use the decompressed Eclipse IDE to solve the problem.
Unfortunately, the exact reason is not clear, and it is estimated that there is a problem with the path and parameters when the eclipse configures Tomcat, and that getting the Tomcat service always fails.