Tomcat9.0在IDEA2020.3中控制台乱码

解决方法

1、tomcat目录下的conf目录下的logging.properties目录中,将juli.AsyncFileHandler.encoding的值赋值为GBK

2、idea64.exe.vmoptions文件在最后添加-Dfile.encoding=UTF-8

3、Tomcat项目添加VM options参数

4、清除target目录,关闭IDEA重启

posted @ 2020-12-17 10:42  里奥特别急  阅读(191)  评论(0编辑  收藏  举报