Re: Fixing Java Apache Class error

2011-07-20 Thread octopusgrabbus
On Jul 20, 9:45 am, Islon Scherer wrote: > Mark is right, you should use lein (or cake) repl instead of trying to run > clojure on command line. Thanks. There is no reason I can't do that. It works. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To

Re: Fixing Java Apache Class error

2011-07-20 Thread Islon Scherer
Mark is right, you should use lein (or cake) repl instead of trying to run clojure on command line. -- 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 mod

Re: Fixing Java Apache Class error

2011-07-20 Thread Mark Rathwell
Is there a reason you can't just use 'lein repl' (or 'cake repl') since this appears to be a lein or cake project? Then you don't need to worry about specifying classpaths, everything in your project is automatically placed on the classpath. On Wed, Jul 20, 2011 at 9:35 AM, octopusgrabbus wrote:

Re: Fixing Java Apache Class error

2011-07-20 Thread Aaron Bedra
Not to derail this too much, but what do you need from clj-http? On 07/20/2011 09:35 AM, octopusgrabbus wrote: Same problem. I'm starting Clojure like this, and have rebuilt clj- http with cake deps exec java -cp /usr/share/java/jline.jar:/usr/share/java/clojure.jar:/ usr/share/java/clojure-co

Re: Fixing Java Apache Class error

2011-07-20 Thread octopusgrabbus
Same problem. I'm starting Clojure like this, and have rebuilt clj- http with cake deps exec java -cp /usr/share/java/jline.jar:/usr/share/java/clojure.jar:/ usr/share/java/clojure-contrib.jar:/usr/share/java/commons- logging-1.1.1.jar:/home/cnorton/git_build/clj-http/clj- http-0.1.3.jar"$extra_c

Re: Fixing Java Apache Class error

2011-07-20 Thread octopusgrabbus
I've already tried this, and it did not fix the problem. http://www.java-samples.com/showtutorial.php?tutorialid=674 On Jul 20, 9:21 am, octopusgrabbus wrote: > When I do this: > > Clojure 1.2.1 > user=> (require '[clj-http.client :as client]) > > I get this error: > > java.lang.ClassNotFoundExce

Re: Fixing Java Apache Class error

2011-07-20 Thread Islon Scherer
It seems like you didn't put the apache HTTP client jars in your path. Are you using leiningen? If so you only need to run "lein deps" and it will download the dependencies. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send