A few points of attention to eclipse

Source: Internet
Author: User
Tags java web tomcat server

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.