[Solved] Tomcat Startup Error: Error deploying web application directory

The project has not been started for a long time. The following errors have been reported during the startup today:

The following methods have not been solved:

1. Clean the project and re-adddeployments to tomcat

2. Check the jar package in the build path and reconfigure the jdk

3. Checked the server.xml file under tomcat’s conf, and did not find the project path that reported the error

4. Check the path under the catalina folder under the conf of tomcat, and create a new folder according to the error, it is useless

Solution:

Copy the servlet-api.jar in the Lib of Tomcat to the Lib of the project, and redeploy the project to solve the problem

Read More: