Startup.bat appear in the startup log information garbled, directly to the installation directory of tomcat, find logging.properties files directly in the conf directory, with a casual open software, open Notepad can modify; all inside UTF- 8 instead GBK
open IDEA click file, click the setting in, find the file Encodings
to change the default GBK UTF-8, then find the run of the top menu bar, and then open,
find the Edit Configurations, click open, on the left find Tomcat server you use,
which added -Dfile.encoding = UTF-8
so basically be resolved. The most important thing is the process where the configuration of Tomcat conf personal feeling IDEA is the default GBK, so some do not move also possible, which would address the IDEA console tomcat localhost log and catalina log output garbled.
IDEA resolve and console tomcat localhost log catalina log output garbage problem, solve the garbage problem in tomcat start startup.bat
Guess you like
Origin blog.csdn.net/weixin_45488363/article/details/105285400
Recommended
Ranking