Tomcat reported 404 error after normal startup

Source: Internet
Author: User
Tags tomcat

=====================================

Development environment:

Eclipse Java EE Edition


Description

I configured a server in Eclipse, can start normally, but after entering the project path to report 404 error, and http://localhost:8080 also can not enter, also reported 404 error.

=====================================

Input Project Path Error:


Input http://localhost:8080/also reported 404 error



After the online search is said to be the path in Web. config is not correct, my original path is:


Change the path to: \web-inf\hello.jsp



When you run the engineering path again, it's OK.



However, when the input http://localhost:8080/run is still reported 404 error, I do not know what the solution. Ask the great God to reply under the message, thanks.


=====================================

When eclipse restarts and runs again, both the engineering path and the http://localhost:8080 are working properly .... Do not understand AH. What's the reason?


Above.


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.