打开tomcat的conf文件夹 找到logging.properties 在文件里搜索 java.util.logging.ConsoleHandler.encoding = UTF-8 把UTF-8换成GBK 重启tomcat即可