tomcat打开总是出现中文乱码

Tomcat startup.bat后中文乱码

解决:

1. 打开tomcat文件夹到conf目录下找到logging.properties文件;

Tomcat startup.bat后中文乱码

2. 找到 java.util.logging.ConsoleHandler.encoding = utf-8 这行;

Tomcat startup.bat后中文乱码

3. 更改为 java.util.logging.ConsoleHandler.encoding = GBK,就可以了!
 

相关文章:

  • 2021-08-31
  • 2022-12-23
  • 2021-09-15
  • 2021-10-05
  • 2021-11-17
  • 2021-10-06
  • 2021-05-26
猜你喜欢
  • 2021-08-28
  • 2021-05-08
  • 2022-12-23
  • 2021-09-10
  • 2021-07-13
  • 2022-12-23
相关资源
相似解决方案