After Eclipse launches Tomcat, the page is 404

Source: Internet
Author: User
Tags tomcat

Open IE, input http://localhost:8080/, but reported 404 of the error.

This is not enough, in the time to repeat the operation several times, the results are the same, it is very strange, I think is not the problem of Tomcat, so I was out of Eclipse, started Tomcat, started, refreshed the page, the normal Tomcat page came out.

To get a question, it must be the eclipse problem, it should not be a bug in the software, it may be a problem in the setting, from this point of view, and later found that the original in the eclipse in the server to add a new service, eclipse default is a little bit of a problem,

Here's how:

1. Locate the Server Action window and double-click the Tomcat service below




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


Now refresh the page is good, you can normally appear familiar with the page, then you have to do, you understand.


Conclusion: If this option is gray, can not be changed, please delete, and then try again, do not start the service, just add tomcat when you switch to the window for the following two steps, you can. Eclipse has selected this default value as the first option. has led to today's problems and hopes to help those who have the same problems.

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.