1、设置vm option参数为: -Dfile.encoding=utf-8如果是web项目,在菜单栏找到run->Edit Configrations,设置 vm option为 -Dfile.encoding=utf-8