动态Web项目用Tomcat部署时会出现两个spring-web的jar包
我猜测的原因:由于项目的多次加载,导致lib下面的spring-web的jar包的重复
控制台报错如下(有删除多余部分):
严重: A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/lab9-10]]
Caused by: java