Re: ClassNotFoundException with def

2009-06-29 Thread Daniel Borchmann
On Sun, Jun 28, 2009 at 01:25:15PM -0700, hoeck wrote: [...] > Tried it, and had the same results. Somehow defining a class object as > a root value triggers some mechanism to load it with the root > classloader instead of the clojure one. > However, putting /home/me on the classpath using -cp wor

Re: ClassNotFoundException with def

2009-06-28 Thread hoeck
Hi Daniel, add-classpath should only be used to add a clojure library on the fly within a repl session. If you encounter any problems with your code using add-classpath, you should use the normal way of adding it to jvm's startup classpath instead. (The reason is that add-classpath works only for