I'm compiling a scala application and I found the error typed in the title.
Scala version: scala 2.11.8 Spark version: spark 1.6.1 Intellij: 2016 1.3
I follow this example http://spark.apache.org/docs/latest/quick-start.html and I change my sbt file like this:
name := "Simple Project"
version := "1.0"
scalaVersion := "2.11.8"
libraryDependencies += "org.apache.spark" %% "spark-core" % "1.6.1"
It is possible there is not compatibility between scala and spark versions?