Failed to execute goal org.springframework.boot:spring-boot-maven-plugin

[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.4.2.RELEASE:repackage (default) on project silver-maintenance-mgmt: Execution default of goal org.springframework.boot:spring-boot-maven-plugin:1.4.2.RELEASE:repackage failed: Unable to find a single main class from the following candidates 

部署springboot web项目时提示找不到主类,原因是项目中有两个两个或多个main方法

你可能感兴趣的:(SpringBoot)