解决Tomcat在IDEA控制台中文乱码的问题

在idea的安装目录下的bin/idea.exe.vmoptions文件和idea64.exe.vmoptions文件的末尾另起一行添加
-Dfile.encoding=UTF-8