Fork me on GitHub
#yada
<
2018-10-15
>
OliverM16:10:36

If I try to use the current version of yada with the current version of Datomic I get the following error when requiring yada at the repl:

CompilerException java.lang.ClassNotFoundException: io.netty.handler.codec.Headers, compiling:(aleph/netty.clj:1:1)
Digging around, it seems similar to this 2016 issue: https://groups.google.com/forum/#!topic/datomic/pZombLbp-tQ Digging around some more, I found a handy example project by @thegeez that includes Datomic and yada in a single project. In his project.clj file he excludes aleph and manifold from yada's dependencies and includes more recent versions directly. Doing the same and using the latest version of both dependencies in my project.clj also resolves the issue:
:dependencies [[org.clojure/clojure "1.8.0"]
                 [com.datomic/datomic-pro "0.9.5703"]
                 [yada "1.2.15" :exclusions [aleph manifold]]
                 [aleph "0.4.6"]
                 [manifold "0.1.8"]
                 ]

mccraigmccraig16:10:56

netty is famously sensitive to minor version changes causing linkage errors (manifesting as CNF at class-load time)