Fork me on GitHub
#luminus
<
2019-05-15
>
kucerm211:05:41

My uberjar stop after execution, main function not execute:/

Frank Henard14:05:32

@kucerm2 sounds like the webserver isn't running for some reason

kucerm217:05:04

@ballpark lein run goes well, but java -jar uberjar.jar is executed and immediately exited before enter main function in package.core namespace.

Frank Henard18:05:15

@kucerm2 JDK 8+? Are there any error messages?

kucerm218:05:58

@ballpark Jdk 8 no error :/

kucerm218:05:02

First line of main function is log message, but execution was no message only exit

Frank Henard18:05:56

@kucerm2 Hard to know. My recommendation would be to create a new leiningen project, with only a main function (gen-class, :main set in project.clj, etc.) with only a print statement. If that works, then compare the two

kucerm218:05:09

@ballpark Thank you i will try it.