在你的pom.xml文件中一定要有这一段代码
代码段如下:
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<includeSystemScope>true</includeSystemScope>
<mainClass>com.gxuwz.clothing.ClothingAfterApplication</mainClass>
</configuration>
</plugin>
</plugins>
</build>
mainClass里面的东西过对应的就是你的启动类