[Solved] HttpServlet Error: A child container failed during start

This mistake almost drove me crazy. When using httpservlet, an error is reported in the process of deploying to Tomcat.

Direct solution:

1. Close the project under deployment before deploying to Tomcat.

2.1 @WebServlet(urlPatterns = {"/tiger2","/tiger3"})

Note that when setting the access path here, do not forget to write the slash “/”.

Solve the above problems.

 

Similar Posts: