Closed bstitt79 closed 10 years ago
Have you added a line like:
(:refer-clojure :exclude [boolean])
To your ns declaration?
It appears that corrected it. Will you still treat this as an issue considering what I had before was legal clojure that works in the repl and in uberjar?
It's not strictly legal Clojure. It works in the REPL, but fails if you try to AOT compile the file, which is what Lein-Ring does.
Gotcha. Thanks for the quick turn around. I appreciate your help.
Here is an example warning/exception pair that I get during an uberwar build: WARNING: boolean already refers to: #'clojure.core/boolean in namespace: utiliti es.state-machine, being replaced by: #'utilities.state-machine/boolean Exception in thread "main" java.lang.ExceptionInInitializerError, compiling:(ser vlet.clj:1:5)
I could comment out the function and uberwar would work. Here is my version info: Leiningen 2.5.0 on Java 1.7.0_67 Java HotSpot(TM) 64-Bit Server VM