Maven打包失败
Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.5.10.RELEASE:repackage (default) on project npmHookServer-entity: Execution default of goal org.springframework.boot:spring-boot-maven-plugin:1.5.10.RELEASE:repackage failed: Unable to find main class
解决办法:
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>1.5.10.RELEASE</version>
<configuration>
<!--解决打包中文乱码-->
<fork>false</fork>
</configuration><executions>
<!--解决打包失败问题-->
<execution>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>