Hi,
I am not sure if this is a Clojure Box problem or a compojure problem
but in an attempt to try calling external jars files in clojure box,and
wanting to try compojure, to eliminate any possible path problems, I've
put compojure and all dependancies in the Clojure Box/lib directory.
When I try to run
(use 'compojure)
(defroutes my-app
(GET "/"
(html [:h1 "Hello World"]))
(ANY "*"
(page-not-found)))
(run-server {:port 8080}
"/*" (servlet my-app))
java.lang.Exception: Unable to resolve symbol: defroutes in this context
(NO_SOURCE_FILE:1)
[Thrown class clojure.lang.Compiler$CompilerException]
I get the same problem when I setq in my .emacs.
Thanks
Brian
--
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