Execution default of goal org.springframework.boot:spring-boot-maven-plugin:1.5.6.RELEASE:repackage
找不到MainClass,在pom文件中增加spring-boot-maven-plugin,并配置启动类
<build> plugins> plugin> groupId>org.springframework.boot</artifactId>spring-boot-maven-pluginconfiguration> mainClass>com.hbd.example.eureka.EurekaServerApplication> >