一、启动 不中断的启动,使用nohup 命令 例如nohup java -jar XXX.jar --spring.profiles.active=dev二、关闭ps -ef | grep javakill -9 进程ID