打印日志文件乱码 2.控制台打印乱码 3.Tomcat日志控制台显示乱码 点击Help --- Edit Custom VM Options 在如下位置添加 -Dfile.encoding=UTF-8 (IDEA会自动调整添加位置)