My current simple.sbt is name := "SparkEpiFast"
version := "1.0" scalaVersion := "2.11.4" libraryDependencies += "org.apache.spark" % "spark-core_2.11" % "1.2.1" % "provided" libraryDependencies += "org.apache.spark" % "spark-graphx_2.11" % "1.2.1" % "provided" While I do "sbt package", it compiles successfully. But while running the application, I get "Exception in thread "main" java.lang.NoSuchMethodError: scala.Predef$.ArrowAssoc(Ljava/lang/Object;)Ljava/lang/Object;" However, changing the scala version to 2.10.4 and updating the dependency lines appropriately resolves the issue (no exception). Could anyone please point out what I am doing wrong?