title: Clojure's :require and Instaparse
body: <p>I am trying to use <a href="https://github.com/Engelberg/instaparse" rel="nofollow noreferrer">instaparse</a> lib for my clojure project. I use leiningen 2.0 and clojure 1.5.1 in my project dependencies. I add instaparse to my project dependencies as follow:</p>
  <pre><code>(defproject bachelor &quot;0.1.0-SNAPSHOT&quot;
    :description &quot;FIXME: write description&quot;
    :url &quot;http://example.com/FIXME&quot;
    :license {:name &quot;Eclipse Public License&quot;
              :url &quot;http://www.eclipse.org/legal/epl-v10.html&quot;}
    :dependencies [[org.clojure/clojure &quot;1.5.1&quot;]
           [org.clojure/clojure-contrib &quot;1.2.0&quot;]
           [instaparse &quot;1.1.0&quot;]])
  </code></pre>
  <p>And that is my source where i'm trying to require that lib:</p>
  <pre><code>(ns bachelor.data
    (:require [clojure.string :as str])
    (:require [instaparse.core :as insta])
    (:use [clojure.contrib.generic.math-functions])
    )
  </code></pre>
  <p>When I try to compile that I get following error message:</p>
  <blockquote>
  <p>cd c:/bachelor/src/bachelor.data/ 1 compiler notes:</p>
  <p>Unknown location:   error: java.io.FileNotFoundException: Could not
  locate instaparse/core__init.class or instaparse/core.clj on
  classpath:</p>
  <p>company.clj:1:1:   error: java.io.FileNotFoundException: Could not
  locate instaparse/core__init.class or instaparse/core.clj on
  classpath:  (company.clj:1)</p>
  <p>Compilation failed.</p>
  </blockquote>
  <p>I checked classpath for my project and I think that instaparse should be found there.</p>
  <blockquote>
  <p>lein classpath</p>
  <p>C:\bachelor\test;C:\bachelor\src;C:\bachelor\dev-resources;C:\bachelor\resources;C:\bachelor\target\classes;C:\Users\Maciej.m2\repository\instaparse\instaparse\1.1.0\instaparse-1.1.0.jar;C:\Users\Mac
  iej.m2\repository\org\clojure\clojure-contrib\1.2.0\clojure-contrib-1.2.0.jar;C:\Users\Maciej.m2\repository\org\clojure\clojure\1.5.1\clojure-1.5.1.jar</p>
  </blockquote>
  <p>Have any idea what I am doing wrong?</p>
  <p><strong>UPDATE</strong></p>
  <p>I updated result for lein classpath. Earlier, I've pasted old result.</p>