Reprinted from: http://blog.csdn.net/guitk/article/details/8306987
Eclipse launches Tomcat access to the home page
When you configure Tomcat in eclipse to access the home page and access your own projects, what is the cause of the problem?
After reviewing the relevant information and knowing that after launching Tomacat in Eclipse, the Web project that it started was not a WebApp Web project under the Tomcat folder, but a Web project under one of its own folders in Eclipse.
Double-click the Tomcat server to open the Tomcat configuration page:
(Note: The server location for this figure needs to be enable when the Web project is not deployed in the Tomcat server)
The server path and location path are selected in the diagram. You can see that the default is "metadata with workspace", that is, the server path workspace, the specific path is: {workspace}\.metadata\.plugins\ ORG.ECLIPSE.WST.SERVER.CORE\TMP0, (new server, there will be a temp, the first server is TEMP0) Deploy path is Wtpwebapps. View this folder without the root project under Tomcat's WebApp, so of course you don't have access to Tomcat's homepage.
Workaround:
1. Copy the root under WebApp under Tomcat to the Wtpwebapps under E:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0, Restart Tomcat and you'll be able to access the homepage now.
2. When configuring server locations, select the second item, "User Tomcat Installation" to modify the configuration such as:
Note: Configuring this step the project developed in Eclipse's workspace will also be copied to the selected deploy path when the Tomcat server is started.
Configuring Tomcat under Eclipse does not open the Tomcat home page