Problem Description:
The tomcat configured in Eclipse, boot is normal, the console display starts successfully, and no error message is reported, but when the access is reported 404 error, and then directly in the Bin directory to start Startup.bat is normal. Then I was very puzzled, after the online search for information, said that the eclipse configuration is out of the question.
Solution:
1. If Tomcat is started in the server, it needs to be stopped first. And then remove the added item
2. After double-clicking on the Tomcat server configured in server, the following interface will appear.
3. Select the second option in the server locations configuration, use Tomcat installation, save again and restart the Tomcat service.
4. Note that there may be times when the server locations the following several options are read-only, can not be selected, this time you need to right-click on Tomcat under the server-"and then select Publish, republish it."
5, and then re-execute the above step 3, you can
6. Re-add the project to the Tomcat container, start running, and see the effect.
7. End of:
Tomcat configured in eclipse starts normally but accesses the 404 error