IDEA解决tomcat乱码问题 配置idea核心配置文件最后添加如下代码 Help–>Edit Custom VM Options…->-Dfile.encoding=UTF-8如图所示 修改idea默认配置 File–>Settings–>输入enc如图所示 修改tomcat编码格式 edit Run/Debug Configerations->VM options 添加(-Dfile.encoding=UTF-8) 如图所示 转载请著名:https://blog.csdn.net/xiaolong951124/article/details/111247573