如何修复maven-plugin:1.4.3.RELEASE:重新打包(默认)项目?

时间:2018-03-03 16:55:43

标签: java spring spring-boot

[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.4.3.RELEASE:repackage (default) on project BlackSheepApplication: Execution default of goal org.springframework.boot:spring-boot-maven-plugin:1.4.3.RELEASE:repackage failed: Unable to find a single main class from the following candidates [com.blacksheep.BlackSheepApplication, com.blacksheep.MoveCodeTest, com.blacksheep.NameChangePlagiarismDemo] -> [Help 1

这在我的本地机器上工作得很好, 当我尝试使用maven打包它时会出现上述错误

0 个答案:

没有答案