开发者社区> 问答> 正文

Maven的配置问题 - maven报错

eclipse打开pom.xml,overview上面报错:

Failure to transfer org.codehaus.plexus:plexus-interpolation:pom:1.13 from http://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.codehaus.plexus:plexus-interpolation:pom:1.13 from/to central (http://repo.maven.apache.org/maven2): The operation was cancelled.



Eclipse版本:

Eclipse Java EE IDE for Web Developers.

Version: Kepler Service Release 1

Build id: 20130919-0819

Maven版本:

Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 23:22:22+0800)

Maven home: /usr/local/Cellar/maven/3.1.1/libexec

Java version: 1.7.0_51, vendor: Oracle Corporation

Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jre

Default locale: en_US, platform encoding: UTF-8

OS name: "mac os x", version: "10.9.2", arch: "x86_64", family: "mac"


展开
收起
montos 2020-05-31 08:07:45 458 0
1 条回答
写回答
取消 提交回答
  • clean下######回复 @程序猿可爱多 : 果然清除下就好了######回复 @zino : 把本地仓库的删掉试试######试了,还是不行######删除仓库里的东西之后 clean
    ######换成OSC的mirror试下。有时候网络不好

    2020-05-31 08:07:53
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
阿里云MaxCompute百问百答 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载

相关镜像