在idea中运行Tomcat出现乱码问题: 下面是解决方法: 选择Edit Configurations 选择项目部署的tomcat,在配置项VM options文本框中输入-Dfile.encoding=UTF-8,点击Apply或OK即可