Hi, I am trying an example in Stuart Halloway's book but I am not getting anywhere:
loading the following: (ns reader.snippet-server (:use [compojure html http jetty file-utils] examples.snippet)) (use 'compojure.http) (defservlet snippet-servlet "Create and view snippets." (GET "/ping" "pong") (ANY "*" (page-not-found))) (use 'compojure.jetty) (defserver snippet-server {:port 8080} "/*" snippet-servlet) gives: user=> (use :reload 'reader.snippet-server) java.lang.RuntimeException: java.lang.RuntimeException: java.lang.IllegalArgumentException: Don't know how to create ISeq from: Character (snippet_server.clj:10) I commented out (GET "/ping" "pong") and it loads and runs. The GET seems to look like the doc string, I will get the compojure source and have a look but pointers would be very welcome. Thanks Tom --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---