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>解决异常
install时[error]repackage failed: Unable to find main class
最新推荐文章于 2024-08-07 11:16:15 发布