java.lang.IllegalArgumentException: More than one fragment with the name [spring_web] was found.

背景

线上环境,部署更新了tomcat项目中的lib,突然出现这个问题。再恢复lib包依然存在这个问题。造成原因未知。

解决办法

在web.xml最后面加上

<absolute-ordering />

原文地址:https://www.cnblogs.com/aeolian/p/13915479.html