IDEA Tomcat控制台中文乱码 1.打开Run/Debug Configuration,选择Tomcat。 2.在Server 的 VM options 添加这段 -Dfile.encoding=UTF-8 ,重启Tomcat。