(以下内容转自https://blog.csdn.net/PursueExcellence/article/details/89981690)
经过网上搜索,终于在stackOverFlow上边找到了解决办法,方法是在项目中的web.xml文件的</web-app>标签内添加如下标签。
<absolute-ordering />
具体位置如下图所示:
关于此问题解决方法的stackOverFlow页面如下,可能需要梯子。
https://stackoverflow.com/questions/54290263/more-than-one-fragment-with-the-name-spring-web-was-found-this-is-not-legal-w