解决Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.17 问题

详细报错如下

Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.17 from 
http://maven.aliyun.com/nexus/content/groups/public/ was cached in the local repository, 
resolution will not be reattempted until the update interval of aliyun has elapsed or updates are forced. 
Original error: Could not transfer artifact org.apache.maven.plugins:maven-surefire-plugin:pom:2.17 
from/to aliyun (http://maven.aliyun.com/nexus/content/groups/public/): No route to host: connect    
pom.xml /config line 1  Maven Configuration Problem

解决

这里写图片描述

这里写图片描述

找到缓存在本地的文件删除重新下载即可.

猜你喜欢

转载自blog.csdn.net/baidu_33314976/article/details/82461684