1.settings --> editor --> code style --> file encodings 中IED Encoding 和project Encoding defult encoding for properties files 三个设置为utf-8
2.打开idea安装地址\bin中idea.exe.vmoptions 和idea64.exe.vmoptions 打开文件在最后加上-Dfile.encoding=UTF-8
1.settings --> editor --> code style --> file encodings 中IED Encoding 和project Encoding defult encoding for properties files 三个设置为utf-8
2.打开idea安装地址\bin中idea.exe.vmoptions 和idea64.exe.vmoptions 打开文件在最后加上-Dfile.encoding=UTF-8