码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2014-05-26 13:27:05      阅读:2261      评论:0      收藏:0      [点我收藏+]

标签:style   c   class   tar   http   a   

报错详情: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

标签:style   c   class   tar   http   a   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!