tomcat 可以启动,其他项目也可以启动,当前项目启动不了,报错服务器错误,并打印 抛出的 :异常with the name [spring_web] was found,以及 严重: 子容器启动失败 的提示。
More than one fragment with the name [spring_web] was found. This is not legal with relative ordering
解决: 在web.Xml的 <display-name>下增加上<absolute-ordering />。
‘<absolute-ordering /> tag to your web.xml just under the <display-name>’
我的web.Xml根本没有<display-name>
我 就在最后 </web-app>的上面 加上了 ,就可以的。