Context []startup failed due to previous errors 錯誤

web項目整合成maven項目,一直報錯,不知道什麼緣由(windowns不報錯,linux報錯),底邊出現一堆引用不到class的錯誤,jar都在,查找好久一直到最上邊報錯信息,而後不知道因此然,網上搜到一個日誌打印的東西  https://pan.baidu.com/s/1xwUFkqt45fZm2Zxbv0YIpA,直接扔到web-inf/class文件夾下邊,錯誤出現了java

 Exception starting filter struts2
java.lang.IncompatibleClassChangeError: Implementing classlinux

仍是不知道啥狀況,最後把lib打開,去重,發現其中asm.jar出現重複,struts2的jar版本低,就去掉自動下載,留高版本,結果liunx錯誤出現,留低版本成功了web

相關文章
相關標籤/搜索