title: NoClassDefFoundError for clojure-hbase
body: <p>How to add the necessary jar file for the classpath used by the project?<br>
  The <code>project.clj</code> is copied below: </p>
  
  <pre><code>  1 (defproject hbase01 "0.1.0-SNAPSHOT"
    2   :description "FIXME: write description"
    3   :url "http://example.com/FIXME"
    4   :license {:name "Eclipse Public License"
    5             :url "http://www.eclipse.org/legal/epl-v10.html"}
    6   :dependencies [[org.clojure/clojure "1.6.0"]
    7                  [clojure-hbase "0.92.4"]])
  </code></pre>
  
  <p>At the REPL I tried: </p>
  
  <pre><code>user=&gt; (require '[clojure-hbase.core :as hb])
  </code></pre>
  
  <p>and it answered back:</p>
  
  <pre><code>CompilerException java.lang.NoClassDefFoundError:  
      org/apache/hadoop/conf/Configuration, compiling:(clojure_hbase/core.clj:1:1) 
  </code></pre>
  
  <p>I found one jar file <code>/usr/local/hbase/lib/hadoop-common-2.2.0.jar</code> where the class is an inner class... but how to add this path to the project? </p>
  
  <p>I have read and tried the <a href="https://github.com/kumarshantanu/lein-localrepo" rel="nofollow">lein-localrepo</a> but it did not get installed in the right location, the jar file get installed into the <code>$username/.m2/repository/hadoop-common</code> folder.</p>