title: Clojure: unable to run Sparkling
body: <p>I'm trying to use the <a href="https://github.com/gorillalabs/sparkling" rel="nofollow">Sparkling library</a> to use Spark from Clojure. Yet, even a simple code like this:</p>
  
  <pre><code>(ns sql-spark.core
    (:gen-class)
    (:require [yesql.core :refer [defquery]]
              [clojure.java.io :as io]
              [clojure.edn :as edn]
              [sparkling.conf :as conf]
              [sparkling.core :as spark]))
  
  (defn -main []
    (println "Hi"))
  </code></pre>
  
  <p>Ends up with: </p>
  
  <pre><code>Exception in thread "main" java.lang.ClassNotFoundException: org.apache.spark.SparkConf, compiling:(sparkling/conf.clj:1:1)
  </code></pre>
  
  <p>I have Spark installed, and I've used it many times with Scala. What am I missing here?</p>
  
  <p><strong>EDIT</strong>
  <code>project.clj</code>:</p>
  
  <pre><code>(defproject sql-spark "1.0.0"
    :description "FIXME: write description"
    :url "http://example.com/FIXME"
    :license {:name "Eclipse Public License"
              :url "http://www.eclipse.org/legal/epl-v10.html"}
    :dependencies [[org.clojure/clojure "1.8.0"]
                   [yesql "0.5.3"]
                   [mysql/mysql-connector-java "5.1.32"]
                   [gorillalabs/sparkling "1.2.5"]]
    :main ^:skip-aot sql-spark.core)
  </code></pre>