您的位置:首页 > 运维架构 > Apache

Failure to transfer org.apache.maven.plugins

2015-12-15 17:09 706 查看
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/maven2was
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


解决方法:

cmd进入命令行

cd %userprofile%\.m2\repository   

for /r %i in (*.lastUpdated) do del %i

然后在eclipse 右键项目-->Maven-->Update Project ... 
-->force update... 勾选 然后点击确定 [/code]


转载自:http://stackoverflow.com/questions/5074063/maven-error-failure-to-transfer
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  java