Eclipse installs the Tomcat plugin1. Download the Eclipse Tomcat plugin address: http://www.eclipsetotale.com/tomcatPlugin.html Unzip the package to the Drophins file under Eclipse, The old version of Eclipse is extracted to the plugins directory. 2. Restart Eclipse, in the menu bar 3 more "Kitten" icon, click will be an error. Click Eclispe in the menu Window-preferences-server-runtime environment click on the Add ... Add Apacheco Tomcat v7.0 Click Next to select the path where your tomcat is located, then open Window-preferences-tomcat to the right of Tomcat version select version 7.x,tomcat Home Add the path where Tomcat is located, Context declaration mode Select Server, click Apply; Then on the right side of WINDOW-PREFERENCES-TOMCAT-JVM Settings classpath Click jar/zip Add/home/admin/tomcat/bin/tomcat-juli.jar click OK. Go back to eclipse click on Tomcat kitten to run if a warning appears: Permissions incorrect, your permissions are not enough to open the terminal, sudo chmod a+r/home/admin/tomcat-r then open eclipse Click on the kitten, the console will appear a lot of information .... 3. Check enter http://localhost:8090/in the address bar of your own browser in eclipse if the kitten indicates that the configuration is complete.
Using the Tomcat plugin under eclipse