1、找到${CATALINA_HOME}/conf/logging.properties

2、找到java.util.logging.ConsoleHandler.encoding = UTF-8

      修改为java.util.logging.ConsoleHandler.encoding = GBK

tomcat9控制台中文乱码

3、重启tomcat。

 


原作者:Johnson1417
原链接:https://www.jianshu.com/p/d23b2cbc5564
來源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。

相关文章:

  • 2022-12-23
  • 2021-11-29
  • 2022-01-16
  • 2022-01-06
  • 2021-09-11
  • 2021-04-17
猜你喜欢
  • 2021-05-29
  • 2022-12-23
  • 2021-05-19
  • 2022-12-23
  • 2022-12-23
  • 2021-07-03
相关资源
相似解决方案