idea 环境变量设置编码 1、打开Run/Debug Configuration,选择你的tomcat 2、然后在 Server > VM options 设置为 -Dfile.encoding=UTF-8