1.改jar为war

springboot 2.0部署到Tomat8.5上

2.改下打包的名字

springboot 2.0部署到Tomat8.5上

3.删掉tomcat的webapps下面的所有文件夹。将打好的jar包放入到webapps下

springboot 2.0部署到Tomat8.5上

 

4.运行tomcat,双击shutdown.bat

springboot 2.0部署到Tomat8.5上

注意:

spring boot 2.0需要tomcat8.5以上的版本才可以部署,

springboot 1.0版本可以用7.0以上版本部署

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-04-29
  • 2021-10-22
  • 2021-07-29
  • 2021-12-22
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-11
  • 2021-10-28
  • 2022-12-23
  • 2022-12-23
  • 2021-09-11
  • 2021-07-31
相关资源
相似解决方案