Which platform/OS are you currently using?
Also, be aware that as Clojure is packaged as a library, and Compojure
currently depends on Clojure 1.1.0, you may get into trouble if you're
using Clojure 1.2.0-RC1
> So leiningen doesn't seem to be the problem. I checked the libs
> directory and all the necessary libraries are there including
> compojure-0.4.0.jar. unjarring this only gives me .clj files and no
> compiled class files. Is this going to work?
It should do, yes. The majority of Clojure jars are like this.
You could try a "lein clean" and then a "lein deps". Perhaps there's
something wrong with your lib directory?
Another option is to try starting it manually:
java -cp 'lib/*.jar' clojure.main src/hello-www/core.clj
You might also want to check your Java version as well.
- James
Normally "java.lang.reflect.InvocationTargetException" occurs when
java compiler finds 2 different classes with same name in 2 different
packages. when u r importing both classes at a time and when you r
trying to create object of that class it throws
"java.lang.reflect.InvocationTargetException" exception .
Can you check your classpath? (echo $CLASSPATH)
and what java does mean? (> which java)
> --
> You received this message because you are subscribed to the Google Groups "Compojure" group.
> To post to this group, send email to comp...@googlegroups.com.
> To unsubscribe from this group, send email to compojure+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/compojure?hl=en.
>
>
- James