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的主要内容,如果未能解决你的问题,请参考以下文章

POM报错Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from

maven项目下载报错:Failure to transfer org.apache.maven:maven-archiver:jar:x.x from https://repo.maven.apac

log4j的1.2.15版本,在pom.xml中的顶层project报错错误: Failure to transfer javax.jms:jms:jar:1.1 from https://maven

Failure to transfer org.apache.maven:maven-archiver:pom:2.5 from https://repo.maven.apache.org/maven

Failure to find parent:pom:2.2.6 in http://maven.aliyun was cached in the local repository...

maven install 构建报错