1、打开idea--help--edit custom VM options--在文件末尾追加-Dfile.encoding=UTF-8
2、打开tomcat配置,在VM Options后面追加-Dfile.encoding=UTF-8
【idea】tomcat启动控制台乱码解决!-new
原文:https://www.cnblogs.com/yllovexjj/p/13062725.html