I am following the instructions here: https://spark.apache.org/docs/latest/quick-start.html to create a simple application that will run on a local standalone Spark build.
In my system I have Scala 2.9.2 and sbt 0.13.7.
When I write in my simple.sbt
the following:
scalaVersion := "2.9.2"
after I use sbt package
, I get the error:
sbt.ResolveException: unresolved dependency: org.apache.spark#spark-core_2.9.2;1.3.1: not found
However, when I write in simple.sbt
:
scalaVersion := "2.10.4"
sbt runs successfully and the application runs fine on Spark.
How can this happen, since I do not have scala 2.10.4 on my system?