<project标红报错 Cannot access alimaven (http;//maven.aliyun.com/nexus/content/repositories/central/)

整合mybatis时,pom文件中<project标红报错
此时:File->Settings->搜索Maven 取消勾选Work office
在这里插入图片描述

C:\Users\Administrator\.jdks\ms-17.0.15\bin\java.exe -Dmaven.multiModuleProjectDirectory=C:\Users\Administrator\IdeaProjects\demo1 -Djansi.passthrough=true -Dmaven.home=D:/apache-maven-3.9.10 -Dclassworlds.conf=D:\apache-maven-3.9.10\bin\m2.conf "-Dmaven.ext.class.path=C:\Users\Administrator\AppData\Local\Programs\IntelliJ IDEA Ultimate 2025.1.3\plugins\maven\lib\maven-event-listener.jar" "-javaagent:C:\Users\Administrator\AppData\Local\Programs\IntelliJ IDEA Ultimate 2025.1.3\lib\idea_rt.jar=56414" -Dfile.encoding=UTF-8 -classpath D:\apache-maven-3.9.10\boot\plexus-classworlds-2.9.0.jar;D:\apache-maven-3.9.10\boot\plexus-classworlds.license org.codehaus.classworlds.Launcher -Didea.version=2025.1.3 --offline -s D:\apache-maven-3.9.10\conf\settings.xml -Dmaven.repo.local=D:\apache-maven-3.9.10\maven-repository clean [INFO] Scanning for projects... [ERROR] [ERROR] Some problems were encountered while processing the POMs: [ERROR] Non-resolvable import POM: The following artifacts could not be resolved: com.alibaba.cloud:aliyun-spring-boot-dependencies:pom:1.0.0 (absent): Cannot access alimaven (http://maven.aliyun.com/nexus/content/repositories/central/) in offline mode and the artifact com.alibaba.cloud:aliyun-spring-boot-dependencies:pom:1.0.0 has not been downloaded from it before. @ line 69, column 25 [ERROR] 'dependencies.dependency.version' for com.alibaba.cloud:aliyun-rds-spring-boot-starter:jar is missing. @ line 34, column 21 @ [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project com.example:demo1:0.0.1-SNAPSHOT (C:\Users\Administrator\IdeaProjects\demo1\pom.xml) has 2 errors [ERROR] Non-resolvable import POM: The following artifacts could not be resolved: com.alibaba.cloud:aliyun-spring-boot-dependencies:pom:1.0.0 (absent): Cannot access alimaven (http://maven.aliyun.com/nexus/content/repositories/central/) in offline mode and the artifact com.alibaba.cloud:aliyun-spring-boot-dependencies:pom:1.0.0 has not been downloaded from it before. @ line 69, column 25 -> [Help 2] [ERROR] 'dependencies.dependency.version' for com.alibaba.cloud:aliyun-rds-spring-boot-starter:jar is missing. @ line 34, column 21 [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/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException 进程已结束,退出代码为 1 给出解决方法
最新发布
07-12
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

holdoulu

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值