maven pom 文件报错

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/m0_37504101/article/details/78017916

错误内容为  Failure to transfer

Description Resource Path Location Type Could not calculate build plan:Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:2.0.2 from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-compiler-plugin:pom:2.0.2 from/to central (http://repo1.maven.org/maven2): No response received after 60000 ExampleProject Unknown Maven Problem

1.进入你使用的maven本地仓库 maven 的settings文件中查看
我的本地仓库<localRepository>G:\maven\repository</localRepository>
cd G:\maven\repository
for /r %i in (*.lastUpdated) do del %i
项目右键-->maven-->Update Project

展开阅读全文

没有更多推荐了,返回首页