The error is coming from clojure.tools.namespace.
Run lein deps :tree
to show the dependency tree - in this case, the relevant bits are:
[io.pedestal/pedestal.app-tools "0.1.11-20130719.140954-2"]
[org.clojure/tools.namespace "0.2.1"]
and
[org.clojure/test.generative "0.4.0"]
[org.clojure/tools.namespace "0.1.1"]
You can see the conflict - test.generative 0.4.0
depends on an earlier version of tools.namespace
.
Add an exclusion to the relevant line of your project.clj
:
[org.clojure/test.generative "0.4.0" :exclusions [org.clojure/tools.namespace]]
This will make the project compile, and you can run (use dev)
and (start)
fine. However, there's a risk that after excluding tools.namespace 0.1.1
, test.generative will no longer work (if it relies on functions that were in tools.namespace 0.1.1
and subsequently deprecated). Hopefully everything will be fine, but if not, you may need to wait for test.generative
to catch up with the later version of tools.namespace
.