在开发springboot项目中,我们会进行打包发布项目,springboot推荐以jar包方式发布,相对之下 jar运行的效率比起war项目快很多。

打包切记:

  1.查看项目里面有没有其他的main方法(启动main除外)

  2.maven依赖是否引入进来

 

IDEA下打包

Springboot  IDEA eclipse 打包

 

eclipse下打包

Springboot  IDEA eclipse 打包

Springboot  IDEA eclipse 打包

相关文章:

  • 2021-08-10
  • 2021-08-27
  • 2021-04-10
  • 2021-12-17
  • 2021-09-06
  • 2022-12-23
  • 2021-04-13
  • 2021-08-10
猜你喜欢
  • 2021-11-28
  • 2022-01-15
  • 2021-10-14
  • 2022-03-05
  • 2022-02-07
  • 2021-09-12
  • 2021-10-25
相关资源
相似解决方案