Javaweb项目,无法启动tomcat(报错:A child container failed during start)

错误所在.两个点:        1 . web.xml  配置错误

                                 2. pom.xml 中servlet-api 的依赖范围没有设置或设置错误  

             


                                 1. 重新检测或者重写一下xml 即可  继续报错就把第二项也检查一下

                                 2. 解决办法  : 添加依赖<scope>provided</scope>

猜你喜欢

转载自blog.csdn.net/qq_24641227/article/details/80168449