原文:idea 启动项目报错,more than one fragment with the name [spring web] was found

这是由于idea导入项目的时候有多个模块,并且有多个web.xml导致的,先删除对应的模块,后启动即可。 另外也有可能是spring的jar冲突,把冲突的jar删除即可。 ...

2019-06-02 23:36 0 1385 推荐指数:

查看详情

tomcat 启动时 出现 More than one fragment with the name [log4j] was found. This is not legal with relative ordering.

启动项目idea 控制台出现如上错误,主要看一下标红的地方 ,大概意思是 找到多个名为log4j的片段。这是不合法的相对排序. 我这里主要原因还是前段时间因为log4j出现漏洞,项目中的log4j2.8.2版本需要升级到2.15版本以上, 由于本地项目中之前版本没有清掉 ...

Tue Dec 21 17:59:00 CST 2021 0 1307
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM