【Spring
问题:Spring boot打包项目启动,提示XXXX-SNAPSHOT.jar中没有主清单属性
在Maven的配置文件pom.xml中添加如下配置即可。
<build><plugins><plugin><groupId>org.springframework.boot</groupId><artifactId>spring-boot-maven-plugin</artifactId><executions><execution><goals><goal>repackage</goal></goals></execution></executions></plugin></plugins>
</build>


发布评论