ssm框架spring-mvc.xml和spring-mybatis.xml報錯項目無法正常啟動問題


報錯信息

Multiple annotations found at this line:
- Referenced file contains errors (http://www.springframework.org/schema/mvc/spring-mvc-4.1.xsd). For more information, right click on the message in the Problems View
and select "Show Details..."
- Referenced file contains errors (http://www.springframework.org/schema/tx/spring-tx-4.1.xsd). For more information, right click on the message in the Problems View and
select "Show Details..."
- Referenced file contains errors (http://www.springframework.org/schema/context/spring-context-4.1.xsd). For more information, right click on the message in the
Problems View and select "Show Details..."

 

 

情況描述

新導入的項目報錯,原因未知,網上有人說是因為版本問題不過我並沒有修改版本就好了……

解決方案

做任何修改然后撤銷修改,重新保存,報錯消失重新編譯項目啟動成功

 

 

emmmm…我又導了一次按照這個方法報錯沒有消失,但是啟動項目沒有報錯……丟你雷姆mmp

 

 

 

不想說啥了,又出現這個錯誤,按照網上說的加上<xml-body></xml-body>之后運行項目然后去掉在運行成功啟動項目

猜測可能是加上標簽之后項目啟動的時候加載了什么東西然后才能成功啟動項目

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM