【发布时间】:2013-12-01 00:09:46
【问题描述】:
有人知道我为什么会收到以下错误吗?我阅读了类似问题的答案,建议使用 Leiningen,我在下面完成了该操作,但仍然出现错误。
MacBook-Pro:~ xxx$ lein new app test
根据“app”模板生成一个名为 test 的项目。
MacBook-Pro:~ xxx$ cd test
MacBook-Pro:test xxx$ lein repl
nREPL server started on port 59623 on host 127.0.0.1
REPL-y 0.2.1
Clojure 1.5.1
Docs: (doc function-name-here)
(find-doc "part-of-name-here")
Source: (source function-name-here)
Javadoc: (javadoc java-object-or-class-here)
Exit: Control+D or (exit) or (quit)
Results: Stored in vars *1, *2, *3, an exception in *e
test.core=> (require '[clojure.core.async :as async :refer :all])
**FileNotFoundException Could not locate clojure/core/async__init.class or clojure/core/async.clj on
classpath: clojure.lang.RT.load (RT.java:443)**
test.core=>
我也尝试过在 emacs 中通过 cider repl:
; CIDER 0.3.1 (Clojure 1.5.1, nREPL 0.2.3)
user> (require '[clojure.core.async :as async :refer :all])
FileNotFoundException Could not locate clojure/core/async__init.class or clojure/core/async.clj on classpath: clojure.lang.RT.load (RT.java:443)
user>
【问题讨论】:
标签: clojure classpath leiningen