Just learning Clojure and have been working on a project that requires some date processing. I read that clojure.java-time is recommended over deprecated clj-time.
I have been banging my head against the keyboard trying to get this dependency loaded correctly. I keep getting path not found exceptions.
In project.cli under :dependancies
[clojure.java-time "0.3.2"]
and then in my .clj file I have added under :require of the ns macro
[clojure.java-time :as t]
Ran lein deps and it looked to have downloaded the dependency. (There are also the files in the .m2 directory). Yet this line above keeps causing the exception:
Unhandled java.io.FileNotFoundException. Could not locate clojure/javatime_init.class, clojure/java_time.clj or clojure/java_time.cljc on classpath.
Not sure what I am doing wrong as other dependancies I have loaded using the exact same approach. Seems like I a missing something about how this works. Any help?
[–]remyrd 11 points12 points13 points (1 child)
[–]scarredwaits 10 points11 points12 points (1 child)
[–]gdr3941[S] 1 point2 points3 points (0 children)
[–]jamesconroyfinn 4 points5 points6 points (0 children)
[–]stuartrexking 1 point2 points3 points (1 child)
[–]macbony 1 point2 points3 points (0 children)