This is under clojure 1.2.0, 1.2.1, 1.3.0, though the error messages differ.
Consider a trivial project that `uses` midje:
(ns midje-aot.core
(:use midje.sweet))
If it's aot-compiled, everything appears to go well:
1762 $ lein compile
Copying 6 files to /Users/marick/src/midje-aot/lib
Copying 1 file to /Users/marick/src/midje-aot/lib/dev
Compiling midje-aot.core
Compilation succeeded.
But certain of the namespaces can't be loaded:
1766 $ lein repl
REPL started; server listening on localhost port 40437
user=> (require 'midje.semi-sweet)
NullPointerException clojure.lang.Compiler.lookupVar (Compiler.java:6780)
What could that exception mean? What's a starting point for debugging?
-----
Brian Marick, Artisanal Labrador
Now working at http://path11.com
Contract programming in Ruby and Clojure
Occasional consulting on Agile
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en