方法1 方法2 -Dfile.encoding=UTF-8 方法3 修改完成后重启IDEA即可 -Dfile.encoding=UTF-8 -Dfile.encoding=UTF-8 方法4 修改完成后重启Tomcat服务器即可