A child container failed during start_解决方法

解决方法:pom.xml文件中javax.servlet-api坐标中缺少了scope,加载就可以了

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>5.2.14.RELEASE</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>

箴言:因为这些东西是非常简单的。不要抱怨自己学不会,那是因为你没有足够用心。