After installing the Tomcat,myeclipse, the two tools can be used to develop and deploy Web applications, with relatively simple steps relative to manual deployment, where there is a particular note: the installation of JDK, Tomcat, myeclipse version in the system is compatible, The gap cannot be too big . I started with Jdk1.8,tomcat8.0,myeclipse10, and I had some problems deploying my web project, and it was difficult to solve. The problem was solved by replacing the JDK with version 1.7 later.
1 Configuring Tomcat
2 Configuring the Tomcat installation path
3 To configure the JDK version for Tomcat, Tomcat uses a JDK version that matches theJDK version of the Web project, consistent with the version of the Catalina.bat configuration under the Tomcat Bin directory or the version of the environment variable java_home configuration.
JDK version of the project
If inconsistencies can be configured by entering Properties, click the Add Library
Access to the JRE system Library to select all installed JDK versions of the system
4 Deploying projects to Tomcat
① Click the Deploy button on the MyEclipse menu bar
② Select the items to publish
③ choose which Web server to publish to
④ Start Tomcat
⑤ If you encounter version inconsistencies during configuration deployment , see the following links:
Http://www.cnblogs.com/Latiny/p/8085446.html
MyEclipse Configuring Tomcat