After searching the Internet, whether we change the Server.xml URIEncoding or compiler of coding useless, I finally found a way to completely solve:
① - >>> open the file tomcat
② - >>> open conf folder
③ - >>> open file logging.properties
④ - >>> find the location of the first 50 lines of configuration information as follows:
java.util.logging.ConsoleHandler.encoding = GBK
and:
Because we have to solve the garbage problem is to print the log Chinese, so the encoding format to GBK just fine
Configuration Rear view:
- This is my information is printed on the console IDEA, hope that this answers all of you help! ! ! ! !