在IDEA上方的菜单栏中,打开最后一个help ,按照下述步骤执行 HELP-> Edit Custom VM OPtions 中加 -Dfile.encoding=utf-8 重启idea,日志输出中文乱码问题即可解决。