On Wednesday, January 9, 2013 4:39:06 PM UTC-5, John Gabriele wrote: > > > Still though, need to add a :main to project.clj I think. > > BTW, tried `:main my-webapp.handler`. `lein uberjar` succeeds, but when I try to run the jar (via `java -jar my-webapp-0.1.0-SNAPSHOT-standalone.jar`), it fails with:
~~~ Exception in thread "main" java.lang.NoClassDefFoundError: my_webapp/handler Caused by: java.lang.ClassNotFoundException: my_webapp.handler 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: my_webapp.handler. Program will exit. ~~~ -- 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