首页 > 其他 > 详细

maven报错(http://repo.maven.apache.org/maven2): No response received after 60000

时间:2014-05-26 13:26:36      阅读:2227      评论:0      收藏:0      [点我收藏+]
报错详情:Failure to transfer com.thoughtworks.xstream:xstream:pom:1.3.1 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 com.thoughtworks.xstream:xstream:pom:1.3.1
from/to central (http://repo.maven.apache.org/maven2): No response received after 60000
原因是连接不到中央仓库.导致报错.在setting中添加
  <mirror>
        <id>uk.maven.org</id>
        <mirrorOf>central</mirrorOf>
        <name>UK Central</name>
        <url>http://uk.maven.org/maven2</url>
    </mirror>
设置镜像.屏蔽中央仓库地址,替换成http://uk.maven.org/maven2

maven报错(http://repo.maven.apache.org/maven2): No response received after 60000,布布扣,bubuko.com

maven报错(http://repo.maven.apache.org/maven2): No response received after 60000

原文:http://www.cnblogs.com/reimu/p/3746652.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!