首页 新闻 会员 周边

请教:maven项目中的pom.xml报错,但是不影响项目的启动,报错信息如下:

0
悬赏园豆:5 [待解决问题]

Failure to transfer org.apache.maven.surefire:surefire:pom:2.10 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.apache.maven.surefire:surefire:pom:2.10 from/to central (http://repo.maven.apache.org/maven2): connection timed out to http://
repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire/2.10/surefire-2.10.pom

雪剑残云的主页 雪剑残云 | 菜鸟二级 | 园豆:217
提问于:2016-10-12 12:14
< >
分享
所有回答(1)
0

找到org.apache.maven.surefire 对应的目录下的文件删除,重新下载一次就好了

2012 | 园豆:21230 (高人七级) | 2016-10-12 13:10

您好,麻烦你能说具体一点吗?

支持(0) 反对(0) 雪剑残云 | 园豆:217 (菜鸟二级) | 2016-10-12 13:20

@雪剑残云:当前用户目录下 .m2中的repository 下的org/apache/maven/surefire目录下的内容 

支持(0) 反对(0) 2012 | 园豆:21230 (高人七级) | 2016-10-13 08:39
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册