install时出现[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.4.3.RELEASE:
repackage (default) on project sunM-soa-domain: Execution default of goal org.springframework.boot:
spring-boot-maven-plugin:1.4.3.RELEASE:repackage failed: Unable to find main class -> [Help 1]
有很多人说在项目中有两个main方法,springboot不知道选择哪个,所以出现error,但是我的项目中并没有两个main方法;
后期在出现异常的spring-boot-maven-plugin中加<mainClass>解决异常
版权声明:本文为jning1115原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。