The problem is that you are specifying the version of Scala, as well as using %% , which is trying to determine which version of Scala you are using.
Or delete one % :
libraryDependencies += "org.apache.spark" % "spark-core_2.11" % "2.0.0" libraryDependencies += "org.apache.spark" % "spark-streaming_2.11" % "2.0.0" libraryDependencies += "org.apache.spark" % "spark-streaming-kafka-0-8_2.11" % "2.0.0"
Or uninstall the Scala version:
libraryDependencies += "org.apache.spark" %% "spark-core" % "2.0.0" libraryDependencies += "org.apache.spark" %% "spark-streaming" % "2.0.0" libraryDependencies += "org.apache.spark" %% "spark-streaming-kafka-0-8" % "2.0.0"
source share