1.打开IDEA顶部的菜单栏中的Help选项,选择Edit Custom VM Options... 2.将idea64.exe.vmoptions文件中添加以下配置 -Dfile.encoding=UTF-8 3.重启IDEA成功解决