Fork me on GitHub
#luminus
<
2017-06-17
>
fazz00:06:55

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 manifest.mf, 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.

fazz00:06:08

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

fazz00:06:30

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