Authored by fangyeqing

FIX:fix bug without main class

Showing 1 changed file with 5 additions and 0 deletions
@@ -77,6 +77,11 @@ @@ -77,6 +77,11 @@
77 <plugin> 77 <plugin>
78 <groupId>org.springframework.boot</groupId> 78 <groupId>org.springframework.boot</groupId>
79 <artifactId>spring-boot-maven-plugin</artifactId> 79 <artifactId>spring-boot-maven-plugin</artifactId>
  80 + <configuration>
  81 + <!--指定启动类-->
  82 + <mainClass>com.xkl.Application</mainClass>
  83 + <layout>ZIP</layout>
  84 + </configuration>
80 </plugin> 85 </plugin>
81 </plugins> 86 </plugins>
82 </build> 87 </build>