If I create an uberjar with onejar and run my application, I get an exception that is caused by: java.lang.ClassNotFoundException: ch.qos.logback.core.AppenderBase
. Running my application locally with clj
and -m
works as expected. Using depstar also works. Curious as to why onejar does not.
Are you using edge? What's your deps.edn?
Not sure what edge is. Here is the pack dep:
{:extra-deps {pack/pack.alpha {:git/url "<https://github.com/juxt/pack.alpha.git>"
:sha "d16bb29fa1581519c2659aed3c94e9a22a0329b8"
:exclusions [org.slf4j/slf4j-nop]}}
:main-opts ["-m" "mach.pack.alpha.one-jar"
"command-processor-standalone.jar"]}