We have been happily using clojure on windows and linux, today we tried to 
run on a MacBook Pro and ran into several issues.

The current stopper is a CNFE as per the title (stack trace at the end).

I have now replicated this on my personal Mac and seen the same behaviour. 
I can't find anything that suggests that there is anything special to do.

I installed leiningen using brew, and am using clojure 1.7.0 as a maven 
dependency in our java code.

The issue is occurring in a java constructor which is then calling:

IFn require = Clojure.var("clojure.core", "require");

require.invoke(Clojure.read("com.xxx.our-name-space"), RELOAD);
aFn = Clojure.var("com.xxx-our-name-space", "a-function");


Any assistance would be amazing. 

Thanks
Phil

Caused by: java.lang.NoClassDefFoundError: clojure/lang/AFunction
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
at java.lang.ClassLoader.defineClass(ClassLoader.java:642)
at clojure.lang.DynamicClassLoader.defineClass(DynamicClassLoader.java:46)
at clojure.lang.Compiler$ObjExpr.getCompiledClass(Compiler.java:4833)
at clojure.lang.Compiler$FnExpr.parse(Compiler.java:3993)
at clojure.lang.Compiler.analyzeSeq(Compiler.java:6721)
... 32 more
Caused by: java.lang.ClassNotFoundException: clojure.lang.AFunction
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at clojure.lang.DynamicClassLoader.findClass(DynamicClassLoader.java:69)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at clojure.lang.DynamicClassLoader.loadClass(DynamicClassLoader.java:77)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 39 more

-- 
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.

Reply via email to