John Gabriele writes:

> Ooof. Of course. It needed a `(:gen-class)` at the end of handler.clj's ns 
> macro.

You don't actually need gen-class, you can do a fully-non-AOT'd uberjar
and just invoke it with -cp instead of -jar:

  $ java -cp myproject-1.0.0-standalone.jar clojure.main -m myproject.main 8080

But it's not a bad idea to do a full AOT during builds just to catch
errors earlier and improve boot time.

-Phil

-- 
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

Reply via email to