背景
线上环境,部署更新了tomcat项目中的lib,突然出现这个问题。再恢复lib包依然存在这个问题。造成原因未知。
![java.lang.IllegalArgumentException: More than one fragment with the name [spring_web] was found.详解编程语言](https://blog.ytso.com/wp-content/themes/justnews/themer/assets/images/lazy.png)
解决办法
在web.xml最后面加上
<absolute-ordering />
![java.lang.IllegalArgumentException: More than one fragment with the name [spring_web] was found.详解编程语言](https://blog.ytso.com/wp-content/themes/justnews/themer/assets/images/lazy.png)
原创文章,作者:Maggie-Hunter,如若转载,请注明出处:https://blog.ytso.com/tech/pnotes/17766.html
线上环境,部署更新了tomcat项目中的lib,突然出现这个问题。再恢复lib包依然存在这个问题。造成原因未知。
![java.lang.IllegalArgumentException: More than one fragment with the name [spring_web] was found.详解编程语言](https://blog.ytso.com/wp-content/themes/justnews/themer/assets/images/lazy.png)
在web.xml最后面加上
<absolute-ordering />
![java.lang.IllegalArgumentException: More than one fragment with the name [spring_web] was found.详解编程语言](https://blog.ytso.com/wp-content/themes/justnews/themer/assets/images/lazy.png)
原创文章,作者:Maggie-Hunter,如若转载,请注明出处:https://blog.ytso.com/tech/pnotes/17766.html