sringboot项目在tomcat上的部署原文链接: https://blog.csdn.net/zhaoyahui_666/article/details/78283559#comments 2017年10月19日 13:07:36 阅读数:402 spring-boot项目生成jar或war,在服务器上可以用java -jar命令运行.但是在tomcat上部署,必须打成war包,因为tomcat会自动解压war,而jar则不行.其次,项目上需要做一些处理: 第一步:注入tomcat依赖 <…