Cannot access aliyunmaven ( xxx ) in offline mode and the artifact

简介: Cannot access aliyunmaven ( xxx ) in offline mode and the artifact

记一次Maven无脑报错


报错提示:

Cannot access aliyunmaven (https://maven.aliyun.com/repository/public) in offline mode and the artifact


当看到这个报错信息后,首先想到的就是maven环境变量是否配置正确,然而经过一番查看后,发现maven配置是没有问题的,然后又想到是不是idea中maven没有配置正确,因为idea没有配置正确,是极有可能出现上述报错的,然而我的idea配置如下,也是没有问题的;


随后我想到,会不会是阿里云镜像改变了,导致读不到阿里云远程maven镜像了,随之我查了下阿里云仓库镜像,发现也是没有问题的;


后来经过一系列的查看各种配置发现,是idea中一项设置所导致的;


这个选项是脱机工作,意思就是不读取远程仓库,只读取本地已有的仓库,之所以报错原因就是我本地仓库是空的,然而我还选择了脱机工作🤣,真是愚蠢的一次报错。

目录
相关文章
|
2月前
|
iOS开发 MacOS Windows
解决报错 unable to access jarfile apachejmeter.jar 的一些技巧!🔥
解决报错 unable to access jarfile apachejmeter.jar 的一些技巧!🔥
556 6
|
开发工具 数据安全/隐私保护 git
remote: The project you were looking for could not be found.
因为使用了不同的账号对不同的项目进行登录,在更换回原先的账户下载git上的代码时,就报了这个问题,这个问题的导致原因其实也就是我们不断更换登录账户所导致的。
437 0
remote: The project you were looking for could not be found.
|
2月前
|
Java Maven 开发工具
maven导入项目出现Unable to import maven project: See logs for details
maven导入项目出现Unable to import maven project: See logs for details
24 0
maven导入项目出现Unable to import maven project: See logs for details
|
2月前
|
存储
Build was configured to prefer settings repositories over project repositories but repository
Build was configured to prefer settings repositories over project repositories but repository
38 5
|
2月前
|
Java Maven
maven:the pom for XXX is missing, no dependency information available
maven:the pom for XXX is missing, no dependency information available
113 0
|
Java Maven
Maven中Could not transfer artifact xxx from/to xxx问题(附镜像云配置)
Maven中Could not transfer artifact xxx from/to xxx问题(附镜像云配置)
383 0
|
Java Maven
maven install时报错The packaging for this project did not assign a file to the build artifact
maven install时报错The packaging for this project did not assign a file to the build artifact
5249 0
|
Java 应用服务中间件 Maven
Maven - Failed to clean project: Failed to delete
Maven - Failed to clean project: Failed to delete
387 0
Maven - Failed to clean project: Failed to delete
|
Java 应用服务中间件
Artifact SSMTest:war exploded: Error during artifact deployment. See server log for details.
Artifact SSMTest:war exploded: Error during artifact deployment. See server log for details.
704 0
Artifact SSMTest:war exploded: Error during artifact deployment. See server log for details.
|
Java Maven
控制台:Unable to import maven project: See logs for details日志:Unable to create injector, see the follow
控制台:Unable to import maven project: See logs for details日志:Unable to create injector, see the follow
154 0
控制台:Unable to import maven project: See logs for details日志:Unable to create injector, see the follow