On Wednesday, January 9, 2013 5:03:49 PM UTC-5, Aaron Cohen wrote: > > On Wed, Jan 9, 2013 at 4:27 PM, John Gabriele <jmg...@gmail.com<javascript:> > > wrote: > >> On Wednesday, January 9, 2013 4:08:50 PM UTC-5, Phil Hagelberg wrote: >>> >>> >>> John Gabriele writes: >>> >> >>> and this in main.clj: >>> >>> (defn -main [& [port]] >>> (let [port (Integer. (or port (System/getenv "PORT") 5000))] >>> (jetty/run-jetty #'app {:port port :join? false})))) >>> >> > > What namespace is main.clj defining? It needs to have :gen-class added to > it. > > Minimally, it could be > > (ns my-webapp.main > [[some dependencies here]] > :gen-class) >
Ooof. Of course. It needed a `(:gen-class)` at the end of handler.clj's ns macro. Works now. :) Thanks! ---John -- 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