错误详情:

 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

相关文章:

  • 2021-06-29
  • 2021-06-13
  • 2021-10-25
  • 2021-12-29
  • 2021-12-05
  • 2021-05-31
  • 2021-10-31
  • 2021-08-26
猜你喜欢
  • 2021-12-22
  • 2021-09-20
  • 2021-10-31
  • 2021-11-06
  • 2022-12-23
  • 2022-12-23
  • 2021-08-17
相关资源
相似解决方案