原文:pom.xml中报错Failure to transfer com.thoughtworks.xstream:xstream-parent:pom:1.3.1 from https://repo.maven.apache.org/maven2 was cached in the local repository

具体报错信息如下: Failure to transfer com.thoughtworks.xstream:xstream parent:pom: . . from https: repo.maven.apache.org maven was cached in the local repository, resolution will not bereattempted until the u ...

2019-06-18 23:16 0 1256 推荐指数:

查看详情

https://repo.maven.apache.org/maven2 was cached in the local repository

这个错误是说项目的依赖由于本地仓库的缓存没有引进来。 解决思路:先找到本地仓库下相关依赖的文件夹,删除掉,再回到项目执行mvn package,依赖就可以成功引进来了。 参考:https://blog.csdn.net/zhairuiping1989/article/details ...

Sat Aug 15 07:02:00 CST 2020 0 2430
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM