title: Zeppelin Clojure throwing ClassNotFoundException/NoClassDefFoundError for external dependency
body: <p>I have added Clojure interpreter to the Zeppelin project. I'm able to run Clojure code into the notebook.</p>
  
  <p>I have added few dependency into interpreter setting (ex. hbase-client). I'm able to call classes from the dependency into the notebook.</p>
  
  <p><a href="https://i.stack.imgur.com/HynEF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HynEF.png" alt="enter image description here"></a></p>
  
  <p>Everything is fine till here but the problem is I have added one of my projects. I want to call some function from that project into the notebook.</p>
  
  <pre><code>%clj
  (use 'some.dep.core)
  (create-db "formcept:hbase://test")
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/bdfqW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bdfqW.png" alt="enter image description here"></a></p>
  
  <p>Here the dependency which I'm using is dependent on hbase. And it's throwing <code>ClassNotFoundException</code> on first run and <code>NoClassDefFoundError Could not initialize class some.dep.core__init  java.lang.Class.forName0 (Class.java:-2)</code>
  <a href="https://i.stack.imgur.com/1lMI6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1lMI6.png" alt="enter image description here"></a></p>
  
  <p>I have tried following:
  I have added dependencies into zeppelin classpath from <code>interpreter.sh</code> and <code>zeppelin-daemon.sh</code>.
  I have added dependencies into interpreter setting.
  I have tried with uber-jar(JAR with dependencies).</p>
  
  <p>Can anyone share the best way to inject external dependency and call it from notepad?</p>
  
  <p>Thanks :) </p>