Spring Boot报错:Unable to find a single main class from the following candidates如何解决?

静伊 5月前
Execution default of goal 
org.springframework.boot:spring-boot-maven-plugin:1.0.1.RELEASE:repackage 
failed: 
Unable to find a single main class from the following candidates


我的项目有多个类和一个main方法。我如何告诉Spring Boot Maven插件哪一个作为main class?

*
*