Intellij的Scala编译错误 [英] Scala Compiliation error with intellij

查看:90
本文介绍了Intellij的Scala编译错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用intelliJ 14.1.4编译混合的java-scala代码

I'm trying to compile a mixed java-scala code using intelliJ 14.1.4

但它一直给我这个错误:

but it keeps giving me this error:

Error Compiling SBT component 'compiler-interface-2.9.2-52.0'

我试图将我的Scala编译器版本降级,但这并没有帮助。

I have tried to down grade my scala-compiler version but this didn't helped.

任何帮助将不胜感激。

推荐答案

问题:


错误编译SBT组件'compiler-interface-2.11.8-53.0'

Error Compiling the SBT component 'compiler-interface-2.11.8-53.0'

我正在运行Java 9,jdk-9.0.4,我通过返回Java 8,jdk1.8.0_161

I was running Java 9,jdk-9.0.4, I fixed this by going back to Java 8, jdk1.8.0_161

这篇关于Intellij的Scala编译错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆