title: Failed to load class for data source: com.databricks.spark.csv
body: <p>My <code>build.sbt</code> file has this:</p>
  
  <pre><code>scalaVersion := "2.10.3"
  libraryDependencies += "com.databricks" % "spark-csv_2.10" % "1.1.0"
  </code></pre>
  
  <p>I am running Spark in standalone cluster mode and my SparkConf is <code>SparkConf().setMaster("spark://ec2-[ip].compute-1.amazonaws.com:7077").setAppName("Simple Application")</code> (I am not using the method <code>setJars</code>, not sure whether I need it). </p>
  
  <p>I package the jar using the command <code>sbt package</code>. Command I use to run the application is <code>./bin/spark-submit --master spark://ec2-[ip].compute-1.amazonaws.com:7077 --class "[classname]" target/scala-2.10/[jarname]_2.10-1.0.jar</code>.</p>
  
  <p>On running this, I get this error:</p>
  
  <blockquote>
    <p>java.lang.RuntimeException: Failed to load class for data source:
    com.databricks.spark.csv</p>
  </blockquote>
  
  <p>What's the issue?</p>