你好,游客 登录
背景:
阅读新闻

Scala报错:Error:scalac: Error: org.jetbrains.jps.incremental.scala.remote.ServerException

[日期:2018-09-15] 来源:csdn  作者: [字体: ]

运行scala,控制台报错如下(部分)

Error:scalac: Error: org.jetbrains.jps.incremental.scala.remote.ServerException
java.lang.reflect.InvocationTargetException.......

......

Caused by: java.lang.VerifyError: Uninitialized object exists on backward branch 209
Exception Details:
  Location:
    scala/collection/immutable/HashMap$HashTrieMap.split()Lscala/collection/immutable/Seq; @249: goto
  Reason:
    Error exists in the bytecode

当时上网查了各种方法,还是报错。最后在windows环境变量中添加JAVA_HOME解决了,特意截屏

添加java_home

path路径下将java_home添加

收藏 推荐 打印 | 阅读: