1.mvn clean package -DskipTests
2.target目录下的war包放到tomcat webapp目录下
3.启动tomcat
4.查看端口占用ps -ef | grep tomcat