我的命名空间声明如下所示:
(ns test.foo
(:use
[clj-http.client :only (get) :as client]
[net.cgrand.enlive-html :only (select) :as html]))
它在 REPL 中运行良好,这是我第一次使用它。然后,当我修改代码并在 REPL 中尝试以下操作时:
(use :reload 'test.foo)
我得到:
java.lang.IllegalStateException: get already refers to: #'clj-http.client/get in namespace: test.foo (foo.clj:1)
我在逆时针方向的窗户上,也尝试过 leiningen (lein repl)。