java.lang.NoSuchMethodError: scala.collection.immutable.$colon$colon.hd$1()Ljava/lang/Object;

Google Groups | Simon Schäfer | 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

    NoSuchMethodError in sbt

    Google Groups | 3 years ago | Simon Schäfer
    java.lang.NoSuchMethodError: scala.collection.immutable.$colon$colon.hd$1()Ljava/lang/Object;
  2. 0

    Eclipse Community Forums: Java Development Tools (JDT) » Error while Starting Tomcat 6.0

    eclipse.org | 9 months ago
    java.lang.NoSuchMethodError: org.eclipse.wst.server.core.model.ServerBehaviourDelegate.ge tTempDirectory(Z)Lorg/eclipse/core/runtime/IPath; at org.eclipse.jst.server.tomcat.core.internal.TomcatServerBeha viour.getTempDirectory(TomcatServerBehaviour.java:619) at org.eclipse.jst.server.tomcat.core.internal.TomcatVersionHel per.getStandardBaseDirectory(TomcatVersionHelper.java:154) at org.eclipse.jst.server.tomcat.core.internal.Tomcat60Handler. getRuntimeBaseDirectory(Tomcat60Handler.java:112) at org.eclipse.jst.server.tomcat.core.internal.TomcatServer.get RuntimeBaseDirectory(TomcatServer.java:271) at org.eclipse.jst.server.tomcat.core.internal.TomcatServerBeha viour.getRuntimeBaseDirectory(TomcatServerBehaviour.java:103 ) at org.eclipse.jst.server.tomcat.core.internal.PublishOperation 2. <init>(PublishOperation2.java:50) at org.eclipse.jst.server.tomcat.core.internal.PublishTask.getT asks(PublishTask.java:34) at org.eclipse.wst.server.core.internal.PublishTask.getTasks(Pu blishTask.java:89) at org.eclipse.wst.server.core.internal.Server.getTasks(Server. java:1186) at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.ge tTasks(ServerBehaviourDelegate.java:1055) at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.pu blish(ServerBehaviourDelegate.java:834) at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.pu blish(ServerBehaviourDelegate.java:708) at org.eclipse.wst.server.core.internal.Server.publishImpl(Serv er.java:2731) at org.eclipse.wst.server.core.internal.Server$PublishJob.run(S erver.java:278)

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      scala.collection.immutable.$colon$colon.hd$1()Ljava/lang/Object;

      at xsbt.ExtractAPI.parameterList$1()
    2. SBT
      ExtractAPI$$anonfun$xsbt$ExtractAPI$$processDefinitions$1.apply
      1. xsbt.ExtractAPI.parameterList$1(ExtractAPI.scala:118)
      2. xsbt.ExtractAPI.build$1(ExtractAPI.scala:128)
      3. xsbt.ExtractAPI.defDef(ExtractAPI.scala:153)
      4. xsbt.ExtractAPI.xsbt$ExtractAPI$$definition(ExtractAPI.scala:243)
      5. xsbt.ExtractAPI$$anonfun$xsbt$ExtractAPI$$processDefinitions$1.apply(ExtractAPI.scala:224)
      6. xsbt.ExtractAPI$$anonfun$xsbt$ExtractAPI$$processDefinitions$1.apply(ExtractAPI.scala:224)
      6 frames
    3. Scala
      ArrayOps$ofRef.flatMap
      1. scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:252)
      2. scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:252)
      3. scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
      4. scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:171)
      5. scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:252)
      6. scala.collection.mutable.ArrayOps$ofRef.flatMap(ArrayOps.scala:171)
      6 frames
    4. SBT
      ExtractAPI$$anonfun$forceStructures$1.apply
      1. xsbt.ExtractAPI.xsbt$ExtractAPI$$processDefinitions(ExtractAPI.scala:224)
      2. xsbt.ExtractAPI$$anonfun$mkStructure$4.apply(ExtractAPI.scala:221)
      3. xsbt.ExtractAPI$$anonfun$mkStructure$4.apply(ExtractAPI.scala:221)
      4. xsbt.Message$$anon$1.apply(Message.scala:8)
      5. xsbti.SafeLazy$$anonfun$apply$1.apply(SafeLazy.scala:8)
      6. xsbti.SafeLazy$Impl._t$lzycompute(SafeLazy.scala:20)
      7. xsbti.SafeLazy$Impl._t(SafeLazy.scala:18)
      8. xsbti.SafeLazy$Impl.get(SafeLazy.scala:24)
      9. xsbt.ExtractAPI$$anonfun$forceStructures$1.apply(ExtractAPI.scala:66)
      10. xsbt.ExtractAPI$$anonfun$forceStructures$1.apply(ExtractAPI.scala:66)
      10 frames
    5. Scala
      List.foreach
      1. scala.collection.immutable.List.foreach(List.scala:302)
      1 frame
    6. SBT
      API$ApiPhase$$anonfun$run$1.apply
      1. xsbt.ExtractAPI.forceStructures(ExtractAPI.scala:66)
      2. xsbt.ExtractAPI.forceStructures(ExtractAPI.scala:67)
      3. xsbt.API$ApiPhase.processScalaUnit(API.scala:48)
      4. xsbt.API$ApiPhase.processUnit(API.scala:38)
      5. xsbt.API$ApiPhase$$anonfun$run$1.apply(API.scala:34)
      6. xsbt.API$ApiPhase$$anonfun$run$1.apply(API.scala:34)
      6 frames
    7. Scala
      AbstractIterator.foreach
      1. scala.collection.Iterator$class.foreach(Iterator.scala:743)
      2. scala.collection.AbstractIterator.foreach(Iterator.scala:1174)
      2 frames
    8. SBT
      API$ApiPhase.run
      1. xsbt.API$ApiPhase.run(API.scala:34)
      1 frame
    9. Scala Compiler
      Global$Run.compile
      1. scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1603)
      2. scala.tools.nsc.Global$Run.compileUnits(Global.scala:1588)
      3. scala.tools.nsc.Global$Run.compileSources(Global.scala:1583)
      4. scala.tools.nsc.Global$Run.compile(Global.scala:1681)
      4 frames
    10. SBT
      CompilerInterface.run
      1. xsbt.CachedCompiler0.run(CompilerInterface.scala:123)
      2. xsbt.CachedCompiler0.run(CompilerInterface.scala:99)
      3. xsbt.CompilerInterface.run(CompilerInterface.scala:27)
      3 frames
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    12. SBT
      IC$.compile
      1. sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:102)
      2. sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:48)
      3. sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:41)
      4. sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply$mcV$sp(AggressiveCompile.scala:98)
      5. sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:98)
      6. sbt.compiler.AggressiveCompile$$anonfun$3$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:98)
      7. sbt.compiler.AggressiveCompile.sbt$compiler$AggressiveCompile$$timed(AggressiveCompile.scala:159)
      8. sbt.compiler.AggressiveCompile$$anonfun$3.compileScala$1(AggressiveCompile.scala:97)
      9. sbt.compiler.AggressiveCompile$$anonfun$3.apply(AggressiveCompile.scala:142)
      10. sbt.compiler.AggressiveCompile$$anonfun$3.apply(AggressiveCompile.scala:86)
      11. sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:38)
      12. sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:36)
      13. sbt.inc.Incremental$.cycle(Incremental.scala:73)
      14. sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:33)
      15. sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:32)
      16. sbt.inc.Incremental$.manageClassfiles(Incremental.scala:41)
      17. sbt.inc.Incremental$.compile(Incremental.scala:32)
      18. sbt.inc.IncrementalCompile$.apply(Compile.scala:26)
      19. sbt.compiler.AggressiveCompile.compile2(AggressiveCompile.scala:150)
      20. sbt.compiler.AggressiveCompile.compile1(AggressiveCompile.scala:70)
      21. sbt.compiler.AggressiveCompile.apply(AggressiveCompile.scala:45)
      22. sbt.compiler.IC$.compile(IncrementalCompiler.scala:22)
      22 frames
    13. scala.tools.eclipse
      ScalaBuilder.build
      1. scala.tools.eclipse.buildmanager.sbtintegration.EclipseSbtBuildManager.runCompiler(EclipseSbtBuildManager.scala:136)
      2. scala.tools.eclipse.buildmanager.sbtintegration.EclipseSbtBuildManager.update(EclipseSbtBuildManager.scala:129)
      3. scala.tools.eclipse.buildmanager.sbtintegration.EclipseSbtBuildManager.build(EclipseSbtBuildManager.scala:173)
      4. scala.tools.eclipse.ScalaProject.build(ScalaProject.scala:568)
      5. scala.tools.eclipse.ScalaBuilder.build(ScalaBuilder.scala:129)
      5 frames
    14. Core Resource Management
      BuildManager$2.run
      1. org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:733)
      1 frame
    15. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    16. Core Resource Management
      BuildManager$1.run
      1. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
      2. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
      3. org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:299)
      3 frames
    17. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    18. Core Resource Management
      Workspace.build
      1. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:302)
      2. org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:358)
      3. org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:381)
      4. org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:514)
      5. org.eclipse.core.internal.resources.Workspace.build(Workspace.java:433)
      5 frames
    19. Eclipse UI
      BuildAction$1.runInWorkspace
      1. org.eclipse.ui.actions.BuildAction$1.runInWorkspace(BuildAction.java:305)
      1 frame
    20. Core Resource Management
      InternalWorkspaceJob.run
      1. org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
      1 frame
    21. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
      1 frame