1.添加插件pom文件

<!-- 把Springboot项目打成jar包-->
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

2.打包

  springboot 项目打成jar包

 

3.jar包地址:

  springboot 项目打成jar包

4.运行jar包后,可以直接访问网址即可

 

相关文章:

  • 2021-11-05
  • 2021-05-25
  • 2021-06-10
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-01
  • 2022-01-09
  • 2021-09-24
  • 2022-12-23
  • 2022-12-23
  • 2021-10-28
相关资源
相似解决方案