**关于Springboot打包错误的问题 | Failed to execute goal spring-boot-maven-plugin:2.4.3:repackage (repackage) on project xxx: Execution repackage of goal spring-boot-maven-plugin:2.4.3:repackage failed: Unable to find main class
**
此问题描述的是,你所对应的工程模块没有SpringBoot的启动类方法,maven找不到你工程里SpringBoot的启动类方法,原因是由于你父类工程的pom.xml文件配置问题。
如果咱们的子模块是一个工具类,那么这个子模块就没有SpringBoot的启动类,所以我们在父类工程添加父工程标签 <pluginManagement>
并排除repackage
<pluginManagement>
<plugins</