原文: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