1、 修改apache-tomcat-10.1.23/conf/server.xml URIEncoding="UTF-8" 2、 修改apache-tomcat-10.1.23/conf/logging.properties # java.util.logging.ConsoleHandler.encoding = UTF-8 java.util.logging.ConsoleHandler.encoding = GBK 参考 https://www.jb51.net/article/239683.htm