Springboot打包发布时boot-01-1.0-SNAPSHOT.jar中没有主清单属性

在pom文件中添加一下依赖,重新打包运行就ok

        <plugin>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-maven-plugin</artifactId>
        </plugin>    

  

原文地址:https://www.cnblogs.com/ljy9/p/14184230.html