tomcat部署项目报错,More than one fragment with the name [spring_web] was found.

tomcat部署项目报错,More than one fragment with the name [spring_web] was found.

tomcat部署项目报错,More than one fragment with the name [spring_web] was found. This is not legal with relative ordering. See section 8.2.2 2c of the Servlet specification for details. Consider using absolute ordering.
我的场景是tomcat从7.0.78更换为7.0.94,先把项目中servlet-api和jsp-api的jar包删除,jdk里的jre/lib/ext目录下servlet-api也删掉,然后还是报错,这时候发现在项目web-inf目录下lib中存在两个版本不一样的spring-web jar包,删除一个,项目启动成功。
tomcat部署项目报错,More than one fragment with the name [spring_web] was found.