java.lang.ClassNotFoundException: xsbt.CompilerInterface

JIRA | linearregression | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    ERROR: [info] Compiling 1 Scala source to /opt/SparkR-pkg/pkg/src/target/scala-2.10/classes... java.lang.ClassNotFoundException: xsbt.CompilerInterface Env variables: export SPARK_HADOOP_VERSION=2.3.0-cdh5.0.0 Command used: ./install-dev.sh Env variables: LD_PATH_CONFIG: :/opt/cloudera/parcels/CDH/lib/hadoop:/opt/cloudera/parcels/CDH/lib/hadoop:/opt/cloudera/parcels/CDH/lib/hadoop:/opt/cloudera/parcels/CDH/lib/hadoop:/opt/cloudera/parcels/CDH/lib/hadoop:/opt/cloudera/parcels/CDH/lib/hadoop:/opt/cloudera/parcels/CDH/lib/hadoop:/opt/cloudera/parcels/CDH/lib/hadoop:/opt/cloudera/parcels/CDH/lib/hadoop:/opt/cloudera/parcels/CDH/lib/hadoop JAVA_HOME /usr/java/jdk1.7.0_45-cloudera SCALA_HOME /opt/scala-2.10.3/ SPARK_HOME /opt/cloudera/parcels/CDH/lib/spark SPARK_YARN true SPARK_HOME /opt/cloudera/parcels/CDH/lib/spark ERROR: Launching sbt from sbt/sbt-launch-0.12.4.jar [info] Loading project definition from /opt/SparkR-pkg/pkg/src/project [info] Set current project to sparkr (in build file:/opt/SparkR-pkg/pkg/src/) [info] Compiling 1 Scala source to /opt/SparkR-pkg/pkg/src/target/scala-2.10/classes... java.lang.ClassNotFoundException: xsbt.CompilerInterface at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:270) at sbt.compiler.AnalyzingCompiler.getInterfaceClass(AnalyzingCompiler.scala:88) at sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:70) at sbt.compiler.AnalyzingCompiler.newCachedCompiler(AnalyzingCompiler.scala:44) at sbt.compiler.AnalyzingCompiler.newCachedCompiler(AnalyzingCompiler.scala:39) at sbt.compiler.CompilerCache$$anon$2.apply(CompilerCache.scala:50) at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:28) at sbt.compiler.AggressiveCompile$$anonfun$4$$anonfun$compileScala$1$1.apply$mcV$sp(AggressiveCompile.scala:71) at sbt.compiler.AggressiveCompile$$anonfun$4$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:71) at sbt.compiler.AggressiveCompile$$anonfun$4$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:71) at sbt.compiler.AggressiveCompile.sbt$compiler$AggressiveCompile$$timed(AggressiveCompile.scala:101) at sbt.compiler.AggressiveCompile$$anonfun$4.compileScala$1(AggressiveCompile.scala:70) at sbt.compiler.AggressiveCompile$$anonfun$4.apply(AggressiveCompile.scala:88) at sbt.compiler.AggressiveCompile$$anonfun$4.apply(AggressiveCompile.scala:60) 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:52) at sbt.inc.Incremental$.compile(Incremental.scala:29) at sbt.inc.IncrementalCompile$.apply(Compile.scala:20) at sbt.compiler.AggressiveCompile.compile2(AggressiveCompile.scala:96) at sbt.compiler.AggressiveCompile.compile1(AggressiveCompile.scala:44) at sbt.compiler.AggressiveCompile.apply(AggressiveCompile.scala:31) at sbt.Compiler$.apply(Compiler.scala:79) at sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:574) at sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:574) at sbt.Scoped$$anonfun$hf2$1.apply(Structure.scala:578) at sbt.Scoped$$anonfun$hf2$1.apply(Structure.scala:578) at scala.Function1$$anonfun$compose$1.apply(Function1.scala:49) at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311) at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311) at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:41) at sbt.std.Transform$$anon$5.work(System.scala:71) at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232) at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232) at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18) at sbt.Execute.work(Execute.scala:238) at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232) at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232) at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160) at sbt.CompletionService$$anon$2.call(CompletionService.scala:30) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) [error] (compile:compile) java.lang.ClassNotFoundException: xsbt.CompilerInterface [error] Total time: 1 s, completed May 2, 2014 10:21:32 AM make: _*_ [target/scala-2.10/sparkr-assembly-0.1.jar] Error 1 ERROR: compilation failed for package ‘SparkR’ * removing ‘/opt/SparkR-pkg/lib/SparkR’

    JIRA | 3 years ago | linearregression
    java.lang.ClassNotFoundException: xsbt.CompilerInterface
  2. 0

    ERROR: [info] Compiling 1 Scala source to /opt/SparkR-pkg/pkg/src/target/scala-2.10/classes... java.lang.ClassNotFoundException: xsbt.CompilerInterface Env variables: export SPARK_HADOOP_VERSION=2.3.0-cdh5.0.0 Command used: ./install-dev.sh Env variables: LD_PATH_CONFIG: :/opt/cloudera/parcels/CDH/lib/hadoop:/opt/cloudera/parcels/CDH/lib/hadoop:/opt/cloudera/parcels/CDH/lib/hadoop:/opt/cloudera/parcels/CDH/lib/hadoop:/opt/cloudera/parcels/CDH/lib/hadoop:/opt/cloudera/parcels/CDH/lib/hadoop:/opt/cloudera/parcels/CDH/lib/hadoop:/opt/cloudera/parcels/CDH/lib/hadoop:/opt/cloudera/parcels/CDH/lib/hadoop:/opt/cloudera/parcels/CDH/lib/hadoop JAVA_HOME /usr/java/jdk1.7.0_45-cloudera SCALA_HOME /opt/scala-2.10.3/ SPARK_HOME /opt/cloudera/parcels/CDH/lib/spark SPARK_YARN true SPARK_HOME /opt/cloudera/parcels/CDH/lib/spark ERROR: Launching sbt from sbt/sbt-launch-0.12.4.jar [info] Loading project definition from /opt/SparkR-pkg/pkg/src/project [info] Set current project to sparkr (in build file:/opt/SparkR-pkg/pkg/src/) [info] Compiling 1 Scala source to /opt/SparkR-pkg/pkg/src/target/scala-2.10/classes... java.lang.ClassNotFoundException: xsbt.CompilerInterface at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:270) at sbt.compiler.AnalyzingCompiler.getInterfaceClass(AnalyzingCompiler.scala:88) at sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:70) at sbt.compiler.AnalyzingCompiler.newCachedCompiler(AnalyzingCompiler.scala:44) at sbt.compiler.AnalyzingCompiler.newCachedCompiler(AnalyzingCompiler.scala:39) at sbt.compiler.CompilerCache$$anon$2.apply(CompilerCache.scala:50) at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:28) at sbt.compiler.AggressiveCompile$$anonfun$4$$anonfun$compileScala$1$1.apply$mcV$sp(AggressiveCompile.scala:71) at sbt.compiler.AggressiveCompile$$anonfun$4$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:71) at sbt.compiler.AggressiveCompile$$anonfun$4$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:71) at sbt.compiler.AggressiveCompile.sbt$compiler$AggressiveCompile$$timed(AggressiveCompile.scala:101) at sbt.compiler.AggressiveCompile$$anonfun$4.compileScala$1(AggressiveCompile.scala:70) at sbt.compiler.AggressiveCompile$$anonfun$4.apply(AggressiveCompile.scala:88) at sbt.compiler.AggressiveCompile$$anonfun$4.apply(AggressiveCompile.scala:60) 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:52) at sbt.inc.Incremental$.compile(Incremental.scala:29) at sbt.inc.IncrementalCompile$.apply(Compile.scala:20) at sbt.compiler.AggressiveCompile.compile2(AggressiveCompile.scala:96) at sbt.compiler.AggressiveCompile.compile1(AggressiveCompile.scala:44) at sbt.compiler.AggressiveCompile.apply(AggressiveCompile.scala:31) at sbt.Compiler$.apply(Compiler.scala:79) at sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:574) at sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:574) at sbt.Scoped$$anonfun$hf2$1.apply(Structure.scala:578) at sbt.Scoped$$anonfun$hf2$1.apply(Structure.scala:578) at scala.Function1$$anonfun$compose$1.apply(Function1.scala:49) at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311) at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311) at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:41) at sbt.std.Transform$$anon$5.work(System.scala:71) at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232) at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232) at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18) at sbt.Execute.work(Execute.scala:238) at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232) at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232) at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160) at sbt.CompletionService$$anon$2.call(CompletionService.scala:30) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) [error] (compile:compile) java.lang.ClassNotFoundException: xsbt.CompilerInterface [error] Total time: 1 s, completed May 2, 2014 10:21:32 AM make: _*_ [target/scala-2.10/sparkr-assembly-0.1.jar] Error 1 ERROR: compilation failed for package ‘SparkR’ * removing ‘/opt/SparkR-pkg/lib/SparkR’

    JIRA | 3 years ago | linearregression
    java.lang.ClassNotFoundException: xsbt.CompilerInterface
  3. 0

    Scala Plugin 1.3 is Available for IntelliJ IDEA 14.0.3 | IntelliJ Scala plugin blog

    jetbrains.com | 1 year ago
    java.lang.ClassNotFoundException: xsbt.CompilerInterface
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Copied IntelliJ project machine A to B, but it won't build on B

    Stack Overflow | 2 years ago | gknauth
    java.lang.ClassNotFoundException: xsbt.CompilerInterface

  1. andyglick 8 times, last 2 weeks ago
  2. tyson925 3 times, last 2 weeks ago
  3. Adrien 8 times, last 2 weeks ago
  4. SteVio1989 4 times, last 3 weeks ago
  5. jstrayer 1 times, last 3 weeks ago
58 more registered users
37 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    xsbt.CompilerInterface

    at java.net.URLClassLoader$1.run()
  2. Java RT
    Class.forName
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    2. java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    3. java.security.AccessController.doPrivileged(Native Method)
    4. java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    5. java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    6. java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    7. java.lang.Class.forName0(Native Method)
    8. java.lang.Class.forName(Class.java:270)
    8 frames
  3. SBT
    Scoped$$anonfun$hf2$1.apply
    1. sbt.compiler.AnalyzingCompiler.getInterfaceClass(AnalyzingCompiler.scala:88)
    2. sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:70)
    3. sbt.compiler.AnalyzingCompiler.newCachedCompiler(AnalyzingCompiler.scala:44)
    4. sbt.compiler.AnalyzingCompiler.newCachedCompiler(AnalyzingCompiler.scala:39)
    5. sbt.compiler.CompilerCache$$anon$2.apply(CompilerCache.scala:50)
    6. sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:28)
    7. sbt.compiler.AggressiveCompile$$anonfun$4$$anonfun$compileScala$1$1.apply$mcV$sp(AggressiveCompile.scala:71)
    8. sbt.compiler.AggressiveCompile$$anonfun$4$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:71)
    9. sbt.compiler.AggressiveCompile$$anonfun$4$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:71)
    10. sbt.compiler.AggressiveCompile.sbt$compiler$AggressiveCompile$$timed(AggressiveCompile.scala:101)
    11. sbt.compiler.AggressiveCompile$$anonfun$4.compileScala$1(AggressiveCompile.scala:70)
    12. sbt.compiler.AggressiveCompile$$anonfun$4.apply(AggressiveCompile.scala:88)
    13. sbt.compiler.AggressiveCompile$$anonfun$4.apply(AggressiveCompile.scala:60)
    14. sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:24)
    15. sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:22)
    16. sbt.inc.Incremental$.cycle(Incremental.scala:52)
    17. sbt.inc.Incremental$.compile(Incremental.scala:29)
    18. sbt.inc.IncrementalCompile$.apply(Compile.scala:20)
    19. sbt.compiler.AggressiveCompile.compile2(AggressiveCompile.scala:96)
    20. sbt.compiler.AggressiveCompile.compile1(AggressiveCompile.scala:44)
    21. sbt.compiler.AggressiveCompile.apply(AggressiveCompile.scala:31)
    22. sbt.Compiler$.apply(Compiler.scala:79)
    23. sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:574)
    24. sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:574)
    25. sbt.Scoped$$anonfun$hf2$1.apply(Structure.scala:578)
    26. sbt.Scoped$$anonfun$hf2$1.apply(Structure.scala:578)
    26 frames
  4. Scala
    Function1$$anonfun$compose$1.apply
    1. scala.Function1$$anonfun$compose$1.apply(Function1.scala:49)
    1 frame
  5. SBT
    $tilde$greater$$anonfun$$u2219$1.apply
    1. sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311)
    2. sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311)
    3. sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:41)
    3 frames
  6. sbt Task system
    Transform$$anon$5.work
    1. sbt.std.Transform$$anon$5.work(System.scala:71)
    1 frame
  7. SBT
    CompletionService$$anon$2.call
    1. sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232)
    2. sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232)
    3. sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
    4. sbt.Execute.work(Execute.scala:238)
    5. sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232)
    6. sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232)
    7. sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
    8. sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
    8 frames
  8. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
    2. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    3. java.util.concurrent.FutureTask.run(FutureTask.java:262)
    4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    6. java.lang.Thread.run(Thread.java:744)
    6 frames