0
点赞
收藏
分享

微信扫一扫

maven系列之bug(Unable to find main class)

small_Sun 2022-02-16 阅读 72
maven

BUG背景:

今天在构建一个maven父子工程,但是在使用mvn clean install -DskipTests打包命令之后,就出现了一个BUG

[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.3.5.RELEASE:repackage (repackage) on project dubbo-spring-cloud-api: Execution repackage of goal org.springframework.boot:spring-boot-maven-plugin:2.3.5.RELEASE:repackage failed: Unable to find main class -> [Help 1]

看bug的提示信息中意思是:没有找到主方法类


解决方案:

举报

相关推荐

0 条评论