springboot项目打包后,发布报错Exception in thread "main" java.lang.reflect.InvocationTargetException
,原因是MANIFEST.MF文件没有指定启动的主函数类
解决方法:在pom.xml添加如下配置
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>1.4.2.RELEASE</version>
<configuration</