解决报错:Cannot access alimaven (http://maven.aliyun.com/nexus/content/repositories/central/)

导读:本篇文章讲解 解决报错:Cannot access alimaven (http://maven.aliyun.com/nexus/content/repositories/central/),希望对大家有帮助,欢迎收藏,转发!站点地址:www.bmabk.com

解决报错:Cannot access alimaven (http://maven.aliyun.com/nexus/content/repositories/central/)

报错:

Cannot access alimaven (http://maven.aliyun.com/nexus/content/repositories/central/)

问题:

项目无法clean

[ERROR] Plugin org.springframework.boot:spring-boot-maven-plugin:2.1.3.RELEASE or one of its dependencies could not be resolved: Cannot access alimaven (http://maven.aliyun.com/nexus/content/repositories/central/) in offline mode and the artifact org.springframework.boot:spring-boot-maven-plugin:jar:2.1.3.RELEASE has not been downloaded from it before. -> [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

在这里插入图片描述

解决办法

开启离线模式无法下载jar包
在这里插入图片描述

在这里插入图片描述
解决 去掉work offline的勾选选项,只勾选本地仓库路径

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。

文章由极客之音整理,本文链接:https://www.bmabk.com/index.php/post/85508.html

(0)
小半的头像小半

相关推荐

极客之音——专业性很强的中文编程技术网站,欢迎收藏到浏览器,订阅我们!