Tag Archives: HTTP Status 404

HTTP status 404 error during eclipse + Tomcat connection test

Don’t panic in case of data tilt, teach you to easily obtain the slope of table tilt>>>

You want to deploy Tomcat in eclipse. As a result, Tomcat can pass the connection test alone, and you can use eclipse 404

404 must be the wrong directory. I’ve tried to change the configuration and file location under eclipse for a long time

1. First stop Tomcat in the menu bar, then select servers at the bottom of the screen and delete the running items

2. Right click to open the server, which should be in the following figure

Server locations must be the second one

Server path should correspond to the installation directory of Tomcat

Change deploy path to: webapps

3. The file organization in eclipse is as follows: