在最后添加一行 ‘-Dfile.encoding=UTF-8‘
IDEA使用Tomcat时控制台乱码的解决方案>从零开始学JAVA系列
原文:https://www.cnblogs.com/itdqx/p/14791475.html