Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save soronpo/4d59da7e65747ebdd23e511e02dc446e to your computer and use it in GitHub Desktop.
Save soronpo/4d59da7e65747ebdd23e511e02dc446e to your computer and use it in GitHub Desktop.
Error:scalac: Error: org.jetbrains.jps.incremental.scala.remote.ServerException
Error compiling the sbt component 'compiler-interface-2.13.0-M3-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:332)
at sbt.io.IO$.withTemporaryDirectory(IO.scala:340)
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:332)
at sbt.io.IO$.withTemporaryDirectory(IO.scala:340)
at sbt.internal.inc.AnalyzingCompiler$.compileSources(AnalyzingCompiler.scala:335)
at org.jetbrains.jps.incremental.scala.local.CompilerFactoryImpl$.getOrCompileInterfaceJar(CompilerFactoryImpl.scala:124)
at org.jetbrains.jps.incremental.scala.local.CompilerFactoryImpl.$anonfun$getScalac$1(CompilerFactoryImpl.scala:49)
at scala.Option.map(Option.scala:146)
at org.jetbrains.jps.incremental.scala.local.CompilerFactoryImpl.getScalac(CompilerFactoryImpl.scala:47)
at org.jetbrains.jps.incremental.scala.local.CompilerFactoryImpl.createCompiler(CompilerFactoryImpl.scala:25)
at org.jetbrains.jps.incremental.scala.local.CachingFactory.$anonfun$createCompiler$3(CachingFactory.scala:24)
at org.jetbrains.jps.incremental.scala.local.Cache.$anonfun$getOrUpdate$2(Cache.scala:20)
at scala.Option.getOrElse(Option.scala:121)
at org.jetbrains.jps.incremental.scala.local.Cache.getOrUpdate(Cache.scala:19)
at org.jetbrains.jps.incremental.scala.local.CachingFactory.createCompiler(CachingFactory.scala:24)
at org.jetbrains.jps.incremental.scala.local.LocalServer.compile(LocalServer.scala:22)
at org.jetbrains.jps.incremental.scala.remote.Main$.make(Main.scala:68)
at org.jetbrains.jps.incremental.scala.remote.Main$.nailMain(Main.scala:25)
at org.jetbrains.jps.incremental.scala.remote.Main.nailMain(Main.scala)
at sun.reflect.GeneratedMethodAccessor156.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.martiansoftware.nailgun.NGSession.run(NGSession.java:319)
Warning:scalac: /tmp/sbt_2623455e/xsbt/ConsoleInterface.scala:11: error: object ILoop is not a member of package scala.tools.nsc.interpreter
import scala.tools.nsc.interpreter.{ ILoop, IMain, InteractiveReader, NamedParam }
^
Warning:scalac: /tmp/sbt_2623455e/xsbt/ConsoleInterface.scala:41: error: not found: type ILoop
val loop = new ILoop {
^
Warning:scalac: /tmp/sbt_2623455e/xsbt/ConsoleInterface.scala:44: error: not found: value in
in = InteractiveReader.apply()
^
Warning:scalac: /tmp/sbt_2623455e/xsbt/ConsoleInterface.scala:45: error: not found: value intp
intp = new IMain(settings) {
^
Warning:scalac: /tmp/sbt_2623455e/xsbt/ConsoleInterface.scala:52: error: not found: value intp
intp.setContextClassLoader()
^
Warning:scalac: /tmp/sbt_2623455e/xsbt/ConsoleInterface.scala:54: error: value createInterpreter is not a member of AnyRef
super.createInterpreter()
^
Warning:scalac: /tmp/sbt_2623455e/xsbt/ConsoleInterface.scala:57: error: not found: value intp
intp.quietBind(NamedParam.clazz(id, value))
^
Warning:scalac: /tmp/sbt_2623455e/xsbt/ConsoleInterface.scala:60: error: not found: value intp
intp.interpret(initialCommands)
^
Warning:scalac: /tmp/sbt_2623455e/xsbt/ConsoleInterface.scala:67: error: not found: value intp
intp.interpret(cleanupCommands)
^
Warning:scalac: /tmp/sbt_2623455e/xsbt/InteractiveConsoleHelper.scala:10: error: object IR is not a member of package scala.tools.nsc.interpreter
import scala.tools.nsc.interpreter.IR
^
Wa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment