请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

启动mybatis-generator报错问题

老师您好,我在启动mybatis-generator后报错找不到eureka的pom0.0.1-SNAPSHOT,然后在install我的eureka模块没问题,但是在install我的server模块时报错——
“Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.2.2.RELEASE:repackage (repackage) on project server: Execution repackage of goal org.springframework.boot:spring-boot-maven-plugin:2.2.2.RELEASE:repackage failed: Unable to find main class

图片描述在install整体项目course时也有报错——
“Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.2.2.RELEASE:repackage (repackage) on project server: Execution repackage of goal org.springframework.boot:spring-boot-maven-plugin:2.2.2.RELEASE:repackage failed: Unable to find main class

图片描述

正在回答 回答被采纳积分+3

1回答

甲蛙 2022-04-28 17:59:43

关于install报错,在最后部署那章有介绍,可以看下,需要改下pom

但是开发阶段都不需要install,你说:在启动mybatis-generator后报错找不到eureka的pom0.0.1-SNAPSHOT,这个得检查本次修改的代码,看和我的源码哪里不一样

下载视频          
0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信