首先pom.xml文件
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<excludes>
<exclude>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
然后执行mvn install
![](https://img-blog.csdnimg.cn/img_convert/9cb4c7954b9aea859f2b8b7fa5342edc.png)
![](https://img-blog.csdnimg.cn/img_convert/49e618049b09abf4477f28312c4a2e32.png)
![](https://img-blog.csdnimg.cn/img_convert/ec49ce3a27157ce505b726d801d5e1c6.png)
启动jar包
命令:
java -jar back-1.0-SNAPSHOT.jar
到这里就完成了