新建xx.bat执行文件,加入以下代码,然后执行即可 @echo off D: cd D:\spring_web start javaw -Dfile.encoding=utf-8 -jar tag-pro.war exit