首页 > 代码库 > maven报错 Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:3.5.0 from

maven报错 Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:3.5.0 from

maven报错误,类似于:

Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:3.5.0 from https://repo.maven.apache.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:3.5.0 from/to central (https://repo.maven.apache.org/maven2): connect timed out pom.xml /pay-core-baixin-api line 1 Maven Configuration Problem

 

解决办法:

右键工程,选择maven->update project,勾选force update ……,如下图:

技术分享

 

点击OK更新即可。

注意:需要连接外网,从中央库更新插件包。

 

参考网址:

http://blog.csdn.net/a936676463/article/details/11801469

 

maven报错 Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:3.5.0 from