404 occurs when you access the Tomcat home page after you start Tomcat in eclipse

Source: Internet
Author: User
Tags tomcat server

After you have configured Tomcat in Eclipse, publish a Web project to Tomcat, and when you use http://localhost:8080 to access the Tomcat home page, there is a 404 error, but you can access the Web pages normally. However, the Tomcat home page can be accessed normally when Tomcat is launched separately in the Tomcat file:

For this issue, there is a problem with the default settings in Eclipse, the solution is as follows:

1. Locate the Server Action window, double-click the following Tomcat service, and the interface appears:

2. In the open settings, select the option for server locations as the second "Use Tomcat installation (takes control of ...)" Can.

Note: When the red box is gray and not selectable, please do the following

Re-create a tomcat server to

404 occurs when you access the Tomcat home page after you start Tomcat in 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.