问题解决 SSM框架 (Spring+SpringMVC+MyBatis+ maven+mysql

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>的上面 加上了 ,就可以的。

参考 https://stackoverflow.com/questions/54290263/more-than-one-fragment-with-the-name-spring-web-was-found-this-is-not-legal-w

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值