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

Posted 砥砺前行

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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的主要内容,如果未能解决你的问题,请参考以下文章