java.lang.NoSuchMethodError: com.typesafe.config.Config.getDuration(Ljava/lang/String;Ljava/util/concurrent/TimeUnit;)J

GitHub | wsf1990 | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    NoSuchMethodError

    GitHub | 7 months ago | wsf1990
    java.lang.NoSuchMethodError: com.typesafe.config.Config.getDuration(Ljava/lang/String;Ljava/util/concurrent/TimeUnit;)J
  2. 0

    HiBench spark run.sh issue

    GitHub | 2 months ago | kkuser
    java.lang.NoSuchMethodError: scala.reflect.api.JavaUniverse.runtimeMirror(Ljava/lang/ClassLoader;)Lscala/reflect/api/JavaMirrors$JavaMirror;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      com.typesafe.config.Config.getDuration(Ljava/lang/String;Ljava/util/concurrent/TimeUnit;)J

      at com.azavea.shaded.demo.util.Helpers$ConfigOps$.akka$util$Helpers$ConfigOps$$getDuration$extension()
    2. com.azavea.shaded
      ActorSystem$.apply
      1. com.azavea.shaded.demo.util.Helpers$ConfigOps$.akka$util$Helpers$ConfigOps$$getDuration$extension(Helpers.scala:126)
      2. com.azavea.shaded.demo.util.Helpers$ConfigOps$.getMillisDuration$extension(Helpers.scala:121)
      3. com.azavea.shaded.demo.actor.ActorSystem$Settings.<init>(ActorSystem.scala:172)
      4. com.azavea.shaded.demo.actor.ActorSystemImpl.<init>(ActorSystem.scala:505)
      5. com.azavea.shaded.demo.actor.ActorSystem$.apply(ActorSystem.scala:142)
      6. com.azavea.shaded.demo.actor.ActorSystem$.apply(ActorSystem.scala:109)
      6 frames
    3. geotrellis.chatta
      Main.main
      1. geotrellis.chatta.Main$.main(Main.scala:29)
      2. geotrellis.chatta.Main.main(Main.scala)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    5. Spark
      SparkSubmit.main
      1. org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:731)
      2. org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:181)
      3. org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:206)
      4. org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:121)
      5. org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
      5 frames