Eclipse Maven 错误 “Failure to transfer…”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

报错日志

 

这是因为没有下载完导致的,手动或者命令删除这些文件

对于Linux或者OSX:

对于 windows:

然后在Project右键,选择 Maven->”Update Project …”, 选择OK就可以了.

发表评论

电子邮件地址不会被公开。