Tomcat starts successfully on eclipse but does not open Tomcat home page

Source: Internet
Author: User
Tags tomcat server

Problem Description:

After starting Tomcat independently, you can successfully access the Tomcat home page by entering http://localhost:8080 in the browser, but when you start Tomcat in Eclipse, you can access the pages of your project, such as entering HTTP.// Localhost:8080/myproject/login.jsp can be accessed successfully, but the http://localhost:8080 home page is not accessible.


  First, window->preferences->server->runtime environments in eclipse Check that eclipse is using either the eclipse-brought Tomcat or the externally-downloaded Tomcat, and make sure that this problem persists after using the external self-downloaded tomcat, and then double-click Tomcat Server in the Servers column in eclipse. To open the Tomcat configuration page:

Discover that the first item is selected in the server locations item and modify it to the second item.

(Ps:tomcat in the boot state double-click on the Tomcat open configuration page in the server locations item is not modifiable, only if Tomcat is stopped and no project is deployed under Tomcat can be modified, if still not, right-click Tomcat v6.0 Server at localhost select "Clean". )


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: 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.