报错" 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