1、查看端口命令 netstat -anp | grep 3306 sudo -s 进入root kill -9 强制删除进程号 kill 删除进程号 mvn clean package -Dmaven.test.skip=true 将代码打成jar包