IDEA tomcat控制台乱码问题解决
首先打开tomcat配置界面,在server中 将 "On Update action"、"On frame deactivation" 都选择 update classes and resources
![2743275-035f3a94ca1a13d7.png](https://upload-images.jianshu.io/upload_images/2743275-035f3a94ca1a13d7.png)
然后设置所配置tomcat的编码格式,否则有可能出现打开页面或控制台乱码的问题,设置VM options为-Dfile.encoding=UTF-8
![2743275-d645198b8a3c8ab4.png](https://upload-images.jianshu.io/upload_images/2743275-d645198b8a3c8ab4.png)
另外还需要修改IDEA的安装目录下:bin目录下的配置文件idea64.exe.vmoptions
在该文件中最后面加上:-Dfile.encoding=UTF-8
![2743275-7b4c2d65aed553ab.png](https://upload-images.jianshu.io/upload_images/2743275-7b4c2d65aed553ab.png)
https://zhousiwei.gitee.io/