1.多模块开发中打包成功,执行报"xxx.jar中没有主清单属性"
- 解决方法:Module的pom中添加如下
<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>
网友评论