1.用文本打开F:\apache-tomcat-7.0.92\bin下的catalina.bat  如图位置加上-Dfile.encoding=GBKtomcat cmd控制台中文乱码

 


2.用文本打开F:\apache-tomcat-7.0.92\conf下的logging.properties 将所有的utf-8替换成gbk 重启tomcat

 

tomcat cmd控制台中文乱码

效果图:

tomcat cmd控制台中文乱码

相关文章:

  • 2021-06-09
  • 2021-08-06
  • 2021-10-21
  • 2021-05-07
  • 2021-08-28
  • 2021-04-06
  • 2021-12-25
猜你喜欢
  • 2022-01-16
  • 2021-04-02
  • 2021-08-11
  • 2021-08-10
  • 2021-04-28
  • 2021-12-11
相关资源
相似解决方案