報錯" type="hidden"/>

xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">報錯


https://blog.csdn.net/qq_36611526/article/details/79067159

今天遇到個問題

文件內引入某個資源

pom.xml頭部http://maven.apache.org/xsd/maven-4.0.0.xsd"報錯。

后來各種百度發現是包的問題:

1、找到maven的包的位置:window->preferences->Maven->User Settings找到。

 

2查看是哪個包的問題,例如我的是:Failure to transfer org.springframework:spring-context-support:jar:4.2.5.RELEASE 包下的問題。

 找到C:\Users\Administrator\.m2\repository\org\springframework\spring-context-support\4.2.5.RELEASE這個包,將文件夾刪除

3、回到Eclipse右鍵項目選擇Maven->Update Project




免責聲明!

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



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