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:UsersAdministrator.m2 epositoryorgspringframeworkspring-context-support4.2.5.RELEASE这个包,将文件夹删除

3、回到Eclipse右键项目选择Maven->Update Project



原文地址:https://www.cnblogs.com/a1304908180/p/10571094.html