1.查询项目端口 lsof -i:8085 2. 获取pid,干掉程序kill -9 xx3.启动boot nohup java -jar XXX.jar >temp.txt & 例: nohup java -jar promotionboot-1.0.0.jar >temp.txt &