1 原因 tomcat日志文件乱码,是因为tomcat旧版为GBK,而新版为utf8。 2 解决 去到tomcat的conf/logging.properties。将encode后面的utf8全部改成GBK即可。