Sounds like two possibilities: * you may need to run lein deps to pull in the dependencies? (check the project's lib folder) * you may need to restart your REPL in CCW so it loads the newly downloaded libraries?
If you're running into CCW-specific issues, you might also try the http://groups.google.com/group/clojuredev-users mailing list which is for CCW. The usual debugging advice is: try the example code in a command line REPL to see whether it's a general problem (dependencies not downloaded) or a CCW-specific problem (works in REPL, not in CCW). p.s. Welcome to Clojure! Sean On Sun, May 6, 2012 at 4:01 AM, Patrick Martin <rawkso...@gmail.com> wrote: > I'm new to clojure and I have been working through Clojure in Action as well > as Chas Emerick's webcast. I created my environment in Eclipse and CCW, but > I am having trouble using "use" to get the json library in my program > namespace. > > I have the leiningen project.clj use the [org.danlarkin/clojure-json "1.1"] > coordinate in the dependencies and it appears to load in the package > explorer. However, when I run > > (use 'clojure.xml) > > (use 'org.danlarkin.json) > > I get the error: FileNotFoundException Could not locate > org/danlarkin/json__init.class or org/danlarkin/json.clj on classpath: > clojure.lang.RT.load (RT.java:430) > > What did I miss? Is their some other command I should use to bring in JSON? > If you happen to have Clojure in Action, I am working through the example in > Listing 3.6. -- 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