1.修改idea虚拟机编码 加入 -Dfile.encoding=UTF-8 2.修改IDEA配置文件编码 加入 -Dfile.encoding=UTF-8 3.修改IDEA项目编码 4.添加Tomcat配置编码 加入 -Dfile.encoding=UTF-8 5.修改Tomcat配置文件编码