Small dot _java project in Project a JSP page report 404

Source: Internet
Author: User
Tags tomcat server

1. Place the project folder directly under the WebApps path of the Tomcat server

2. Copy one item from one Tomcat server WebApps to another Tomcat server under WebApps path

3. After restarting Tomcat, visit the project on the new Saba and discover that one of the JSP pages is reported 404, and the other pages under the same path are accessible

4. Found the project under Tomcat's work path, and found that the JSP page did not generate a corresponding. class file, so 404

5. Re-deploy the project and restart the server

6. Generate the corresponding. class file, normal access

Small dot _java project in Project a JSP page report 404

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.