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.
Solution:
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". )
Reference: http://blog.csdn.net/guitk/article/details/8306987
http://blog.csdn.net/guitk/article/details/8306987