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

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

    已采纳该答案
    打赏 评论
  • CSDN专家-Time 2021-05-20 17:20
    打赏 评论
  • 有问必答小助手 2021-05-20 18:52

    您好,我是有问必答小助手,您的问题已经有小伙伴解答了,您看下是否解决,可以追评进行沟通哦~

    如果有您比较满意的答案 / 帮您提供解决思路的答案,可以点击【采纳】按钮,给回答的小伙伴一些鼓励哦~~

    ps:问答VIP仅需29元,即可享受5次/月 有问必答服务,了解详情>>>https://vip.csdn.net/askvip?utm_source=1146287632

    打赏 评论

相关推荐 更多相似问题