Installing compojure?

Up vote 1 down vote favorite share g+ share fb share tw.

Following the instructions in en.wikibooks.org/wiki/Compojure/Getting_..., I: downloaded github.com/weavejester/compojure/tarball... extracted to ~/compojure chdir to there changed permission to executable run ant deps ant run export CLASSPATH=~/compojure/compojure. Jar created compojure shell script Clojure source file chdir to there run . /compojure hello.

Clj Then, I got: Exception in thread "main" java.lang. NoClassDefFoundError: clojure/lang/Script Caused by: java.lang. ClassNotFoundException: clojure.lang.

Script at java.net. URLClassLoader$1. Run(URLClassLoader.

Java:217) at java.security. AccessController. DoPrivileged(Native Method) at java.net.URLClassLoader.

FindClass(URLClassLoader. Java:205) at java.lang.ClassLoader. LoadClass(ClassLoader.

Java:321) at sun.misc. Launcher$AppClassLoader. LoadClass(Launcher.

Java:294) at java.lang.ClassLoader. LoadClass(ClassLoader. Java:266) Could not find the main class: clojure.lang.Script.

Program will exit. I tried changing Compojure shell script to use full classpath, but still didn't work. Why not?

How to install Compojure? Clojure compojure link|improve this question edited Dec 13 '10 at 14:24 asked Dec 13 '10 at 14:17Delirium tremens960828 82% accept rate.

That page is outdated. You should follow these instructions from compojure developers: github.com/weavejester/compojure/wiki/Ge....

2 @Delirium: Also, you should start using a build tool like maven2 or leiningen to do things like setting up classpath, as soon as you can. – Goran Jovic Dec 13 '10 at 14:34 If you can get leiningen to work... That's been my problem... :-( – Brian Knoblauch Dec 14 '10 at 17:53 Extremely useful. I've been looking on and off all day for how to get Compojure set up correctly.

– GrooveStomp Jan 17 '11 at 5:33.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions