错误详情:

 Multiple encodings set for module chunk test "GBK" will be used by compile

IDEA编译时scala编码报错

解决方案:

File --> setting --> files encoding

IDEA编译时scala编码报错

将项目所有设置为utf-8

若无用,则可以尝试第二种方法:

IDEA编译时scala编码报错搜索idea64.exe.vmoptions

添加-Dfile.encoding=UTF-8

保存后重新编译


参考:https://blog.csdn.net/crazyjavabeans/article/details/47336837

相关文章: