https://blog.csdn.net/zhangyan323/article/details/103061448
我是在bat文件中增加了:set BUILD_ID=dontKillMe
@echo off taskkill /f /im javaw.exe set BUILD_ID=dontKillMe start javaw -jar erp-0.0.1-SNAPSHOT.jar > erp.log --server.port=8083 exit
https://blog.csdn.net/zhangyan323/article/details/103061448
我是在bat文件中增加了:set BUILD_ID=dontKillMe
@echo off taskkill /f /im javaw.exe set BUILD_ID=dontKillMe start javaw -jar erp-0.0.1-SNAPSHOT.jar > erp.log --server.port=8083 exit