打开IDEA->help(帮助)->Edit Custom VM Options(编辑自定义VM选项参数)->在文件后面加上-Dfile.encoding=UTF-8 ->重启
-Dfile.encoding=UTF-8