1、打开Edit Custom vm options 加入-Dfile.encoding=UTF-8 如下 2、在Tomcat 的VM options 加入 -Dfile.encoding=UTF-8 如下