Skip to content

Instantly share code, notes, and snippets.

@dejanb
Created October 21, 2013 09:25
Show Gist options
  • Save dejanb/7081044 to your computer and use it in GitHub Desktop.
Save dejanb/7081044 to your computer and use it in GitHub Desktop.
scala: Error: object scala not found.
scala.tools.nsc.MissingRequirementError: object scala not found.
at scala.tools.nsc.symtab.Definitions$definitions$.getModuleOrClass(Definitions.scala:655)
at scala.tools.nsc.symtab.Definitions$definitions$.getModule(Definitions.scala:605)
at scala.tools.nsc.symtab.Definitions$definitions$.ScalaPackage(Definitions.scala:145)
at scala.tools.nsc.symtab.Definitions$definitions$.ScalaPackageClass(Definitions.scala:146)
at scala.tools.nsc.symtab.Definitions$definitions$.AnyClass(Definitions.scala:176)
at scala.tools.nsc.symtab.Definitions$definitions$.init(Definitions.scala:814)
at scala.tools.nsc.Global$Run.<init>(Global.scala:697)
at xsbt.CachedCompiler0$$anon$2.<init>(CompilerInterface.scala:104)
at xsbt.CachedCompiler0.run(CompilerInterface.scala:104)
at xsbt.CachedCompiler0.liftedTree1$1(CompilerInterface.scala:89)
at xsbt.CachedCompiler0.run(CompilerInterface.scala:89)
at xsbt.CompilerInterface.run(CompilerInterface.scala:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:74)
at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:36)
at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:30)
at sbt.compiler.AggressiveCompile$$anonfun$8$$anonfun$compileScala$1$1$$anonfun$apply$3$$anonfun$apply$1.apply$mcV$sp(AggressiveCompile.scala:77)
at sbt.compiler.AggressiveCompile$$anonfun$8$$anonfun$compileScala$1$1$$anonfun$apply$3$$anonfun$apply$1.apply(AggressiveCompile.scala:77)
at sbt.compiler.AggressiveCompile$$anonfun$8$$anonfun$compileScala$1$1$$anonfun$apply$3$$anonfun$apply$1.apply(AggressiveCompile.scala:77)
at sbt.compiler.AggressiveCompile.sbt$compiler$AggressiveCompile$$timed(AggressiveCompile.scala:137)
at sbt.compiler.AggressiveCompile$$anonfun$8$$anonfun$compileScala$1$1$$anonfun$apply$3.apply(AggressiveCompile.scala:76)
at sbt.compiler.AggressiveCompile$$anonfun$8$$anonfun$compileScala$1$1$$anonfun$apply$3.apply(AggressiveCompile.scala:73)
at scala.Option.foreach(Option.scala:236)
at sbt.compiler.AggressiveCompile$$anonfun$8$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:73)
at sbt.compiler.AggressiveCompile$$anonfun$8$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:73)
at scala.Option.foreach(Option.scala:236)
at sbt.compiler.AggressiveCompile$$anonfun$8.compileScala$1(AggressiveCompile.scala:73)
at sbt.compiler.AggressiveCompile$$anonfun$8.apply(AggressiveCompile.scala:118)
at sbt.compiler.AggressiveCompile$$anonfun$8.apply(AggressiveCompile.scala:61)
at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:24)
at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:22)
at sbt.inc.Incremental$.cycle(Incremental.scala:46)
at sbt.inc.Incremental$.compile(Incremental.scala:29)
at sbt.inc.IncrementalCompile$.apply(Compile.scala:20)
at sbt.compiler.AggressiveCompile.compile2(AggressiveCompile.scala:128)
at sbt.compiler.AggressiveCompile.compile1(AggressiveCompile.scala:44)
at org.jetbrains.jps.incremental.scala.local.CompilerImpl.compile(CompilerImpl.scala:63)
at org.jetbrains.jps.incremental.scala.local.LocalServer.compile(LocalServer.scala:26)
at org.jetbrains.jps.incremental.scala.remote.Main$.nailMain(Main.scala:31)
at org.jetbrains.jps.incremental.scala.remote.Main.nailMain(Main.scala)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.martiansoftware.nailgun.NGSession.run(Unknown Source)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment