解决方案 tomcat版本:9.0.44 IDEA版本:2020.3.3 1.找到help 2.找到Edit Custom VM Options… 3.在文件中加入-Dfile.encoding=UTF-8后保存 4.清除缓存后重启IDEA(一定要重启) 5. 重启后结果