I\'m getting this error when trying to run my project.
Exception in thread \"main\" java.lang.NoSuchMethodError: com.typesafe.config.Config.getDuration
It sounds like a classpath problem. You may be using a library that calls (uses) Typesafe Config, but the version of Typesafe Config in your path is less than 1.3.0. The method that is not found was introduced in Typesafe Config 1.3.0. To see your runtime classpath, make sure these statements are the first ones that are executed (i.e. before your app crashes):
val cp = System.getProperty("java.class.path")
val sep = System.getProperty("path.separator")
cp.split(sep).foreach(println)
Once you see that you do not have Typesafe Config 1.3.0, add it as an explicit dependency.
Adding TypeSafe 1.3.1 as dependency might help, add it as part of your Seq() of dependencies:
"com.typesafe" % "config" % "1.3.1"