win10 Tomcat9.x console to solve garbage problem

Console launch will be garbled, will not find a lot of ways, and finally found a method available, very simple

Open tomcat / conf / logging.properties
found java.util.logging.ConsoleHandler.encoding = UTF-8
modified to java.util.logging.ConsoleHandler.encoding = GBK
if not found it is added below the position of FIG.

Restart tomcat

Guess you like

Origin www.cnblogs.com/Dearmyh/p/10988202.html