栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Java

maven编译报错:Non-resolvable parent POM for xx.xx

Java 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

maven编译报错:Non-resolvable parent POM for xx.xx

控制台报错

D:developJAVAJDKbinjava.exe -Dmaven.multiModuleProjectDirectory=D:备份转移文件D盘ideaCodeactiviti6-samples -Dmaven.home=D:developMAVENapache-maven-3.3.9 -Dclassworlds.conf=D:developMAVENapache-maven-3.3.9binm2.conf -Dmaven.ext.class.path=D:developJetBrainsIDEA2021.2.2pluginsmavenlibmaven-event-listener.jar -javaagent:D:developJetBrainsIDEA2021.2.2libidea_rt.jar=54251:D:developJetBrainsIDEA2021.2.2bin -Dfile.encoding=UTF-8 -classpath D:developMAVENapache-maven-3.3.9bootplexus-classworlds-2.5.2.jar org.codehaus.classworlds.Launcher -Didea.version=2021.2.2 -s D:developMAVENapache-maven-3.3.9confsettings.xml -Dmaven.repo.local=D:repo clean compile
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.imooc.activiti:config:[unknown-version]: Could not find artifact com.imooc.activiti:activiti6-samples:pom:1.0-SNAPSHOT and 'parent.relativePath' points at no local POM @ line 3, column 13
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project com.imooc.activiti:config:[unknown-version] (D:备份转移文件D盘ideaCodeactiviti6-samplesconfigpom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for com.imooc.activiti:config:[unknown-version]: Could not find artifact com.imooc.activiti:activiti6-samples:pom:1.0-SNAPSHOT and 'parent.relativePath' points at no local POM @ line 3, 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

Process finished with exit code 1

操作

mvn clean compile

解决方案

../pom.xml
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/1003240.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号