Closed vbauer closed 10 years ago
Try performing a lein clean
. If that doesn't work, try removing the target
directory as well.
Problems like this are typically due to old class files in the target directory, or a bad dependency that contains compiled class files. Because Clojure prefers class files to source files, any errant class files in your classpath tend to cause weird errors.
Yes, it works now. Thank you! I've just started to use Clojure and make a lot of silly mistakes..
AOT compilation in Clojure has a lot of gotchas. Sometimes I think the default behaviour in Leiningen should be to perform a lein clean
by default before each compile if AOT is turned on. It would be slower, but less prone to error.
I've just tried to add [ring/ring-json "0.2.0"] as dependency in my project and it brings the following error:
project.clj:
It looks like Apache FileUpload is missed, but I don't use it. Could you help me with it, please?
PS: I used https://github.com/yogthos/luminus-template to create project.