title: Scala/Spark: Caused by: java.lang.ClassNotFoundException: org.apache.spark.Logging
body: <p>I am pretty new to scala and spark. Trying to fix my set-up of spark/scala development. I am confused by the versions and missing jars. I searched on stackoverflow, but still stuck in this issue. Maybe something missing or mis-configured.</p>
  
  <p>Running commands:</p>
  
  <pre><code>me@Mycomputer:~/spark-2.1.0$ bin/spark-submit --class ETLApp /home/me/src/etl/target/scala-2.10/etl-assembly-0.1.0.jar
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>...
  Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/spark/Logging
  ...
  Caused by: java.lang.ClassNotFoundException: org.apache.spark.Logging
  </code></pre>
  
  <p>build.sbt:</p>
  
  <pre><code>name := "etl"
  
  version := "0.1.0"
  scalaVersion := "2.10.5"
  javacOptions ++= Seq("-source", "1.8", "-target", "1.8")
  mainClass := Some("ETLApp")
  
  libraryDependencies += "org.apache.spark" %% "spark-core" % "1.5.2" % "provided";
  libraryDependencies += "org.apache.spark" %% "spark-sql" % "1.5.2" % "provided";
  libraryDependencies += "org.apache.spark" %% "spark-streaming" % "1.5.2" % "provided";
  libraryDependencies += "org.apache.spark" %% "spark-streaming-kafka" % "1.5.2";
  libraryDependencies += "com.datastax.spark"  %% "spark-cassandra-connector" % "1.5.0-M2";
  libraryDependencies += "org.apache.curator" % "curator-recipes" % "2.6.0"
  libraryDependencies += "org.apache.curator" % "curator-test" % "2.6.0"
  libraryDependencies += "args4j" % "args4j" % "2.32"
  </code></pre>
  
  <p>java -version
  java version "1.8.0_101"</p>
  
  <p>scala -version
  2.10.5</p>
  
  <p>spark version
  2.1.0</p>
  
  <p>Any hints welcomed. Thanks</p>