IDEA in apache-tomcat-9.xx start the application console repair garbage problem

In a recent study done JavaWeb download the latest version of tomcat9.0.33. When you start the console output garbled, it looked really uncomfortable, the Internet to find a method to solve. Hereby resolve convenient scheduled after the next record.

The local environment

1. apache-tomcat-9.0.33

2. idea 2019.3.3

 

 

 

 

3. Locate logging.properties file, extract the installation directory: D: \ ProgramInstall \ apache- tomcat-9.0.33 \ conf

java.util.logging.ConsoleHandler.level = FINE
java.util.logging.ConsoleHandler.formatter = org.apache.juli.OneLineFormatter
#注销此行
#java.util.logging.ConsoleHandler.encoding
= UTF-8

4. Start again, show Chinese.

 

Guess you like

Origin www.cnblogs.com/HongBingLee/p/12541278.html