[ERROR] Failed to execute goal on project springcloud: Could not resolve dependencies for project co

网友投稿 300 2022-09-01

[ERROR] Failed to execute goal on project springcloud: Could not resolve dependencies for project co

[ERROR] Failed to execute goal on project springcloud_emp: Could not resolve dependencies for project com.libin:springcloud_emp:jar:1.0.1-SNAPSHOT: Failed to collect dependencies at com.libin:springcloud_ems:pom:1.0.1-SNAPSHOT -> [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] -Dmaven.multiModuleProjectDirectory=D:\JAVA_EE\Project\WorkSpace\MicroService\SpringCloudAlibaba\springcloud_ems -Xms256m -Xmx512m -Dfile.encoding=UTF-8 -Dmaven.home=D:\Java\apache_maven_3_6_1 -Dclassworlds.conf=D:\Java\apache_maven_3_6_1\bin\m2.conf -javaagent:D:\JAVA_EE\ideaIU_2018_3_6_win\lib\idea_rt.jar=9379:D:\JAVA_EE\ideaIU_2018_3_6_win\bin -classpath D:\Java\apache_maven_3_6_1\boot\plexus-classworlds-2.6.0.jar org.codehaus.classworlds.Launcher -Didea.version=2018.3.6 -s D:\Java\apache_maven_3_6_1\conf\settings.xml install[INFO] Scanning for projects...[INFO] [INFO] ---------------------< com.libin:springcloud_emp >----------------------[INFO] Building springcloud_emp 1.0.1-SNAPSHOT[INFO] --------------------------------[ jar ]---------------------------------[INFO] ------------------------------------------------------------------------[INFO] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] Total time: 1.156 s[INFO] Finished at: 2021-06-27T13:17:20+08:00[INFO] ------------------------------------------------------------------------[ERROR] Failed to execute goal on project springcloud_emp: Could not resolve dependencies for project com.libin:springcloud_emp:jar:1.0.1-SNAPSHOT: Failed to collect dependencies at com.libin:springcloud_commons:jar:1.0.1-SNAPSHOT: Failed to read artifact descriptor for com.libin:springcloud_commons:jar:1.0.1-SNAPSHOT: Could not find artifact com.libin:springcloud_ems:pom:1.0.1-SNAPSHOT -> [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] finished with exit code 1

解决方案:

父项目的pom.xml如下:

标签:方案
上一篇:Spring Cloud Alibaba Nacos配置中心 集群与负载均衡配置
下一篇:最新 Linux 命令总结 大全
相关文章

 发表评论

暂时没有评论,来抢沙发吧~