更新sende-boot时的http-kit依赖性问题

时间:2019-06-28 14:13:09

标签: clojure http-kit sente

就像我更新的build.boot文件出现问题:https://github.com/laforge49/sente-boot/blob/master/build.boot (在后端上的时间太长了!)

我尝试更改clojure和clojurescript的版本。以前我没有找到RT类,所以至少取得了一些进步。

这是我的依赖项:

:dependencies '[
[org.clojure/clojure                       "1.9.0"  :scope "provided"]
[org.clojure/core.async                    "0.4.490"]
[org.clojure/clojurescript "1.9.562"]
[adzerk/boot-reload        "0.5.1"      :scope "test"]
[adzerk/boot-cljs      "2.0.0" :scope "test"]
[com.taoensso/sente        "1.14.0-RC2"] ; <--- Sente
[com.taoensso/timbre       "4.10.0"]
[http-kit                  "2.3.0"]
[ring                      "1.7.1"]
[ring/ring-defaults        "0.3.2"] ; Includes `ring-anti-forgery`, etc.
[compojure                 "1.6.1"] ; Or routing lib of your choice
[hiccup                    "1.0.5"] ; Optional, just for HTML
[com.cognitect/transit-clj  "0.8.313"]
[com.cognitect/transit-cljs "0.8.256"]
[onetom/boot-lein-generate "0.1.3"]]

我收到此错误:

clojure.lang.ExceptionInfo: clojure/lang/IFn
data: {:file "org\\httpkit\\server.clj", :line 66}
java.lang.NoClassDefFoundError: clojure/lang/IFn
java.lang.ClassNotFoundException: clojure.lang.IFn
...
clojure.core/load/fn                          core.clj: 6007
clojure.core/load/invokeStatic                          core.clj: 6006
clojure.core/load                          core.clj: 5990
...

0 个答案:

没有答案