eclipse的maven项目jar下载不下来

报错:

CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:3.1 or one of its dependencies could not be resolved: Failure to find org.apache.maven.plugins:maven-compiler-plugin:jar:3.1 in http://repository.jboss.org/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of jboss-public-repository-group has elapsed or updates are forced

 

原因:

可能是你的setting.xml中的镜像的仓库中没有找到所需要的jar

解决办法:

更改镜像或者启用默认的镜像

本人实际遇到,完美解决。

你可能感兴趣的:(eclipse的maven项目jar下载不下来)