I have a simple scala object file with the following content:
import org.apache.spark.SparkContext import org.apache.spark.SparkContext._ import org.apache.sp
As you are using Scala 2.11 in your project. You should use spark core library build for Scala 2.11. Can download spark-core_2.11 from here http://mvnrepository.com/search?q=Spark
Refer spark-core_2.11 jar in project.