ssm项目测试环境部署 打包项目部署到测试环境 打包项目 生成的war包 部署到测试环境 查看tomcat进程: ps -ef | grep tomcat关闭tomcat: 方法一:进入tomcat/bin/目录,运行命令 ./shutdown.sh 方法二:ps aux|grep tomcat找到进程ID,然后kill -9 ID移除原有的war包和war包同名目录: rm -rf DEMO/ 和 rm -rf DEMO.war将新打包好的war包移动到webapps目录下启动tomcat并查看输出日志 ./startup.sh & tail -f …/logs/catalina.out;