1.找到Tomcat安装路径下的conf,里面的logging.properties文件
IDEA中Tomcat控制台中文乱码解决
2.打开后找到:
java.util.logging.ConsoleHandler.encoding = UTF-8 语句,更改为:
java.util.logging.ConsoleHandler.encoding = GBK
IDEA中Tomcat控制台中文乱码解决
3.重启IDEA,查看结果:
IDEA中Tomcat控制台中文乱码解决

参考文献

原文连接

2020.06.02

相关文章:

  • 2021-05-07
  • 2021-11-30
  • 2021-09-04
  • 2021-12-31
  • 2021-05-23
  • 2021-05-06
猜你喜欢
  • 2021-09-08
  • 2021-06-18
  • 2021-04-28
  • 2021-12-11
  • 2021-11-09
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案