标签:class pack art uil manifest plugin col 解决 include
将build中的入口改为如下即可解决:
<plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <executions> <execution> <phase>package</phase> <goals> <goal>repackage</goal> </goals> </execution> </executions> <configuration> <includeSystemScope>true</includeSystemScope> <mainClass>com.xxx.xxx.xxx</mainClass> </configuration> </plugin>
注意:
execution中内容很重要
解决部署报错No main manifest attribute, in XXX.jar
标签:class pack art uil manifest plugin col 解决 include
原文地址:https://www.cnblogs.com/matoo-shi/p/12356873.html