你至少要进行到第二步 1、进入Tomcat设置页面vm option设置为-Dfile.encoding=UTF-8 2、IDEA 打开 HELP中的Edit Custom VM Options下面新起一行加入 -Dfile.encoding=utf-8 3、到这应该解决了,可额外确认一下Tomcat日志的编码格式,打开其目录 apache-tomcat-9.0.34\conf\logging.properties