Fork me on GitHub

Hi there. I got the guestbook example running from the git, and it works locally. However uberjar cannot find the main class. The uberjar config is present in the project.clj, and guestbook/core.clj has the (:gen-class) set for the ns, and -main is there as well. Do I need to specify the main class when running "lein uberjar ..."? I looked into the jar, and in the, main-class is main. I see a core$main.class file in the jar's guestbook folder. I believe I am missing a simple step but I cannot figure it out.


Oh ok just saw that my database environment variable was not correct and threw the warning


now it runs and I got to take care of the Error: 500 🙂