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进入命令行
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对世界各个时区(TimeZone)的通用转换处理方法(转载)
- java-注解annotation
- java-模拟tomcat服务器
- java-用HttpURLConnection发送Http请求.
- java-WEB中的监听器Lisener
- Android IPC进程间通讯机制
- Android Native 绘图方法
- Android java 与 javascript互访(相互调用)的方法例子
- 介绍一款信息管理系统的开源框架---jeecg
- 聚类算法之kmeans算法java版本
- java实现 PageRank算法
- PropertyChangeListener简单理解
- 插入排序
- 冒泡排序
- 堆排序
- 快速排序
- 二叉查找树
- [原创]java局域网聊天系统