凤凰上帝 2021-05-20 17:17 采纳率: 100%
浏览 68
已采纳

eclipse中maveninstall失败

从本地导入到eclispe中的一个maven项目,本机安装的是maven3.6.0,pom文件中也修改成maven3.6.0,maven update时,老是下载到这个2.4,导致maven install 失败,和报如下错误,有人知道怎么解决吗?

 

maven install时报如下错误

[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-compiler-plugin:3.6 or one of its dependencies could not be resolved: Failure to find org.apache.maven.plugins:maven-compiler-plugin:jar:3.6 in xxx.com:80/artifactory/bupps4.0-mvn-virtual was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

  • 写回答

3条回答 默认 最新

  • CSDN专家-三岁丫 2021-05-20 17:30
    关注

    可以参考一下这篇文章。是因为你上次下载的时候没有下载全。

    https://blog.51cto.com/qiangsh/1743074

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?