I made an empty project with clojure 1.5.1 and added [enlive "1.1.1"], project.clj
(defproject enlive-test "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:license {:name "Eclipse Public License"
:dependencies [[org.clojure/clojure "1.5.1"]
[enlive "1.1.1"]])
and it works fine:
(use 'net.cgrand.enlive-html)
(html [:p]) => ({:tag :p, :attrs {}, :content ()})
can you try to run:
$lein clean
$lein deps
$lein repl
and try from there (okok, lein deps is run automatically by lein repl these days).
are you having a > 2.0,0 version of leiningen? check with lein version, if not, lein upgrade (there are some differences to be made)
maybe you have some broken version of your local maven repo?
then get the deps again.
(and why on earth do even the new not yet jarred enlive 1.1.2 have ancient clojure 1.2.0 as a dependency? :)