解决IntelliJ IDEA 使用 TOMCAT 中文乱码问题

运行tomcat时,控制台乱码
1)打开Run/Debug Configuration,选择你的tomcat
2)然后在 Server > VM options 设置为 -Dfile.encoding=UTF-8 ,重启tomcat

posted @ 2020-08-16 22:51  Cherish°  阅读(456)  评论(0)    收藏  举报