原因:仓库中存在很多.lastUpdated和_remote.repositories结尾的文件,
.lastUpdated是下载出错的文件,_remote.repositories是每次从私服或者中央仓库下载的jar包的信息。都需要删除
用工具删除即可
双击运行
_remote.repositories文件
1 #NOTE: This is an Aether internal implementation file, its format can be changed without prior notice. 2 #Fri Aug 10 10:04:28 CST 2018 3 spring-boot-starter-web-1.5.9.RELEASE.pom>test1-nexus-mirro= 4 spring-boot-starter-web-1.5.9.RELEASE.jar>test1-nexus-mirro= 5 spring-boot-starter-web-1.5.9.RELEASE.pom>test2-nexus-mirro= 6 spring-boot-starter-web-1.5.9.RELEASE.jar>test2-nexus-mirro=
这个文件存储的是每次从私服或者中央仓库下载的jar包的信息。
第3行:pom文件>私服ID名称
第4行:jar文件>私服ID名称
第5、6行:从另一个私服下载的记录