Maven常见的依赖问题

Description      Resource Path Location   Type

Failure to transfer org.apache.maven.plugins:maven-jar-plugin:pom:2.4 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 nexus-aliyun has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-jar-plugin:pom:2.4 from/to nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public): maven.aliyun.com pom.xml  /user-service-provider     line 1         Maven Configuration Problem

解决方法

1 删除对应插件然后重新force update即可。

2 或者检查网络,查看自己是否能上网,检查自己的ipv4是不是不小心改成了非自动获取。

原文地址:https://www.cnblogs.com/timingstarts/p/12585893.html