Maven-多模块打包异常(repackage failed: Unable to find main class)

项目下新增一个模块,结果打包异常,日志如下:
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.0.5.RELEASE:repackage (default) on project supply-common: Execution default of goal org.springframework.boot:spring-boot-maven-plugin:2.0.5.RELEASE:repackage failed: Unable to find main class -> [Help 1]

解决方法:新模块增加如下配置
org.springframework.boot
spring-boot-maven-plugin

Maven-多模块打包异常(repackage failed: Unable to find main class)最先出现在Python成神之路

版权声明:
作者:lichengxin
链接:https://www.techfm.club/p/11307.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>