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



posted @ 2019-03-21 13:31  M号开发者  阅读(6327)  评论(0)    收藏  举报