启动system的时候报错误,然后installserver的时候也报错误
来源:3-3 搭建服务模块-server

慕哥7496173
2020-06-21
1、启动system的时候报错
Could not find artifact com.union:server:pom:0.0.1-SNAPSHOT in nexus-public-snapshots (http://maven.aliyun.com/nexus/content/repositories/snapshots/)
2、install server的时候报错
Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.3.1.RELEASE:repackage (repackage) on project server: Execution repackage of goal org.springframework.boot:spring-boot-maven-plugin:2.3.1.RELEASE:repackage failed: Unable to find main class
写回答
1回答
-
甲蛙
2020-06-21
检查下system的pom.xml是否添加了server的依赖,父模块也需要添加pom.xml
这个错在14-3多环境打包并java命令启动这一节有介绍,可以看一下7:15。也可以先不管,跟着视频到14章再看
00
相似问题