Sunday, 15 May 2011

Can not get clojure-contrib to load - FileNotFoundException -


I have tried to put the closer-contrib.jar in different places on my file system, when I started manually using RPL I tried to specify classpath, I tried to remove the jar and put the CLJ files on the classpath, nothing is working, I continue to do something like this:

  Java.io.FileNotFoundException: not close / destab / straw_utits_init Was taken. When I execute  (println (seq (.getURLs (java.lang.ClassLoader / sql) GetSystemClassLoader)))))  To view the classpath, it includes the Closer-Contraab: 

  (# URL: / c: / program% 20 files / Java / JR 1.6.0_06 /lib/clojure-1.0.0 .jar & gt; ... & lt; url file: / c: / program% 20 files / java / jr 1.6.0_06 / lib / clojure-contrib .jar & gt;)  

When I create a .clj file of my own and call it Clasp So he keeps on condition I enables to use it or need it and want access to its functions.

If I for example - move a .clj file - str-utils.clause for PLD (which is on the classpath) - this sort works - even though the file is found on the lite This is generally dependent on the other because nothing can be done with it buried in the Closer-Contributed work, which he can not get.

Any idea why this will not work for closure-content?

If you have compiled your own closer-content jar, you probably used the main branch That is not 1.0 compatible.

Follow the doctor to checkout the Tagged Amendment of Closer-Contrabb.

Here also maintains compatibility 1.0.


No comments:

Post a Comment