启动mybatis-generator报错问题

来源:3-4 集成mybatis generator

weixin_宝慕林6206823

2022-04-27

老师您好,我在启动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

图片描述

写回答

1回答

甲蛙

2022-04-28

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

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

下载视频          
0
1
weixin_宝慕林6206823
解决了,谢谢老师
2022-04-29
共1条回复

Spring Cloud+ Vue前后端分离开发企业级在线视频系统

全网稀缺课程 市场热门项目+主流框架 一课掌握前后端技术

1743 学习 · 1697 问题

查看课程