原文: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