Tomcat can start normally in eclipse, and access to http://localhost:8080/in the browser is not accessible and is reported as 404 error. Other project pages cannot be accessed at the same time.
Close the tomcat inside Eclipse, double-click Startup.bat in the Tomcat installation directory to manually start the Tomcat server. Access htt://localhost:8080/can access the Tomcat administration page normally.
Reason:
Eclipse redirects the Tomcat Project publishing directory (WebApp in the Tomcat directory), so you will find that your project file cannot be found in the WebApp directory under the Tomcat installation directory.
Workaround:
Reconfigure the following Tomcat server:
On the server page in Eclipse, double-click the Tomcat service to see the configuration page:
When a project is deployed in Tomcat, the options in the Server Locations are grayed out and cannot be modified, and you must remove the deployed services from Tomcat first.
By right-clicking the Tomcat server, select Add and remove to remove the deployed project in the popup dialog box. After removing the OK, in the right-click Clean, double-clicking on the Tomcat server will see the above Options Panel section editable.
Restart the Tomcat server, access to the http://localhost:8080 will be able to access the normal, your own deployment of the project is also able to access.
Eclipse startup Tomcat does not have access to resolve