maven 解決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

在這裏插入圖片描述在這裏插入圖片描述

在這裏插入圖片描述
解決 去掉work offline的勾選選項,只勾選本地倉庫路徑

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章