Fork me on GitHub
#ring
<
2016-05-25
>
mvaline22:05:32

hey guys, I'm having trouble building my uberjar for a ring project

mvaline22:05:33

lein ring uberjar works, however lein uberjar gives me Warning: The Main-Class specified does not exist within the jar. It may not be executable as expected. A gen-class directive may be missing in the namespace which contains the main method. even having specified :main in project.clj and defined -main within the main namespace

mvaline22:05:05

which is just a call to (ring/run-jetty handler)

mvaline22:05:19

anything I'm missing off the bat?

mvaline22:05:43

I'm trying to get lein uberjar to work for the heroku clojure buildpack

mvaline22:05:33

ahh it may be due to lack of :gen-class

mvaline22:05:03

wow looking for that forever. Solved 👆