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

GitHub | wsf1990 | 6 months 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

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

    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