1, Eclipse+tomcat debugging Java web,eclipse updated code, and tomcat in the code is not synchronized update
1) Double-click Eclipse Tomcat Server and tick "Modules auto reload by default"
2) If the first step doesn't work, right-click Java Compile Select the latest version, rebuild the project, then empty the tomcat cache (clean), republish
3) If not, delete the workspace and re-import the project into Eciipse.
2. Eclipse Package Web project into the war package, copy the war package to the other server's Tomcat to publish, Tomcat Manager in the war package always start not up
1) View the Tomcat logs file and find the error prompt, the Java compiler version in Eclipse in the development environment is 1.7, and the JDK version of the server is 1.6, so the project publishing is always unsuccessful
WORKAROUND: Set the Java compiler version in Eclipse to 1.6 and then repackage it into a war package and copy it to the server's tomcat for publishing.
A few points of attention to eclipse