IDEA配置scala环境时报错Error:scalac: Error: org.jetbrains.jps.incremental.scala.remote.ServerException

今天开始学习spark分布式集群,在运行IDEA时遇到报错

Error:scalac: Error: org.jetbrains.jps.incremental.scala.remote.ServerException
Error compiling the sbt component 'compiler-interface-2.13.0-M1-52.0'
at sbt.internal.inc.AnalyzingCompiler$.handleCompilationError$1(AnalyzingCompiler.scala:331)
at sbt.internal.inc.AnalyzingCompiler$.$anonfun$compileSources$4(AnalyzingCompiler.scala:346)
at sbt.internal.inc.AnalyzingCompiler$.$anonfun$compileSources$4$adapted(AnalyzingCompiler.scala:341)
at sbt.io.IO$.withTemporaryDirectory(IO.scala:376)
at sbt.io.IO$.withTemporaryDirectory(IO.scala:383)
at sbt.internal.inc.AnalyzingCompiler$.$anonfun$compileSources$2(AnalyzingCompiler.scala:341)
at sbt.internal.inc.AnalyzingCompiler$.$anonfun$compileSources$2$adapted(AnalyzingCompiler.scala:335)
at sbt.io.IO$.withTemporaryDirectory(IO.scala:376)

at sbt.io.IO$.withTemporaryDirectory(IO.scala:383)

……

错误原因为scala安装版本太新,换成scala-2.11.8后问题解决。

你可能感兴趣的:(IDEA配置scala环境时报错Error:scalac: Error: org.jetbrains.jps.incremental.scala.remote.ServerException)