On Thursday, June 9, 2016 at 9:32:51 AM UTC-4, Alex Miller wrote: > > I think it's quite likely that you have multiple copies of tools.analyzer > (and possibly other libs) on your classpath. Can you take a look at your > deps and see if that might be the case? > > A particular thing to watch for is if any dep is AOT compiled and > transitively pulled in a dependency lib somehow. > > "lein deps :tree" is a good place to start, but it doesn't tell you what's > actually inside the jars. There used to be a Maven plugin that would track > down multiple class definitions across the dependency classpath, can't > remember what it was called. It would be cool if such a thing also existed > for Lein that would find multiple .clj/.cljc/.class files for a ns on the > classpath. Or maybe someone has already written that, don't know. >
A tool like unix commandline "which" could also help in such circumstances, to find out exactly which jar or clj file for what namespace a function or other Var is coming from. Something like => (which boolean?) clojure.tools.analyzer.utils/boolean? in /some/path/clojure.jar -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.