SpringBoot中没有主清单属性怎么解决,打jar包失败

使用spring-boot-dependencies这个BOM代替了spring-boot-starter-parent这个parent POM(详见13.2.2. Using Spring Boot without the parent POM)

导致spring-boot-maven-plugin的配置项丢失,使得打包后的jar中的MANIFEST.MF文件缺少Main-Class

参考:添加链接描述

猜你喜欢

转载自blog.csdn.net/u013078871/article/details/128526412
今日推荐