Run-Edit Configurations 将VM options设置为-Dfile.encoding=UTF-8,然后重启idea即可
Run-Edit Configurations
-Dfile.encoding=UTF-8