maven报错记录:org.apache.maven.model.resolution.UnresolvableModelException: Could not find artifact com.gwm.boot:gwm-parent:pom:1.0.0-SNAPSHOT
报错如下:
[WARNING] [WARNING] Some problems were encountered while building the effective settings [WARNING] expected START_TAG or END_TAG not TEXT (position: TEXT seen ....aliyun.com/nexus/content/groups/public/</url>; \n </... @176:8) @ D:\tool\apache-maven-3.8.3\conf\settings.xml, line 176, column 8 [WARNING] [INFO] Scanning for projects... Downloading from gwmdc-ora-truck-project-gwm-lafeng: https://gwmdc-maven.pkg.coding.net/repository/lafeng/lafeng_parent/com/gwm/boot/gwm-parent/1.0.0-SNAPSHOT/maven-metadata.xml Downloading from gwmdc-ora-truck-project-gwm-lafeng: https://gwmdc-maven.pkg.coding.net/repository/lafeng/lafeng_parent/com/gwm/boot/gwm-parent/1.0.0-SNAPSHOT/gwm-parent-1.0.0-SNAPSHOT.pom [ERROR] [ERROR] Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM for com.gwm.marketing:gwm-marketing-uc:1.0.0-SNAPSHOT: Could not find artifact com.gwm.boot:gwm-parent:pom:1.0.0-SNAPSHOT in gwmdc-ora-truck-project-gwm-lafeng (https://gwmdc-maven.pkg.coding.net/repository/lafeng/lafeng_parent/) and 'parent.relativePath' points at wrong local POM @ line 6, column 13 @ [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project com.gwm.marketing:gwm-marketing-uc:1.0.0-SNAPSHOT (D:\workspace\gwm-marketing-uc\pom.xml) has 1 error [ERROR] Non-resolvable parent POM for com.gwm.marketing:gwm-marketing-uc:1.0.0-SNAPSHOT: Could not find artifact com.gwm.boot:gwm-parent:pom:1.0.0-SNAPSHOT in gwmdc-ora-truck-project-gwm-lafeng (https://gwmdc-maven.pkg.coding.net/repository/lafeng/lafeng_parent/) and 'parent.relativePath' points at wrong local POM @ line 6, column 13 -> [Help 2] [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
原因是需要先去gwm-parent:pom 下拉取即可
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 单元测试从入门到精通
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 上周热点回顾(3.3-3.9)
· winform 绘制太阳,地球,月球 运作规律
2019-03-29 记录一次含有特定注解的方法后面添加指定业务的过程
2019-03-29 查询es curl命令记录
2017-03-29 nginx 两台机器 出现退款失败问题