我刚刚将 [hiccup "1.0.3"] 依赖项添加到我的 project.clj,但现在我无法再启动 repl。每次我尝试,我都会得到:
Caused by: java.io.FileNotFoundException: Could not locate hiccup/page_helpers__init.class or hiccup/page_helpers.clj
想法?一旦我从依赖项中删除打嗝,一切都编译得很好。
(defproject projectname "0.1.0-SNAPSHOT"
: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.5.1"]
[com.datomic/datomic-free "0.8.4007"]
[ring-serve "0.1.2"]
[ring/ring-core "1.1.8"]
[compojure "1.1.5"]
[hiccup "1.0.3"]]
:profiles {:dev {:source-paths ["dev"]
:dependencies [[org.clojure/tools.namespace "0.2.3"]
[org.clojure/java.classpath "0.2.0"]]}})