Hey there. Having issues with `lein clean && lein repl` Throws ClassNotFoundException for my own .java class. `lein uberjar` works however, and `lein repl` runs fine after that. project.clj fragment
:javac-options ["-source" "10"
"-target" "10"
"-Xlint:all,-options,-path"
"-Werror"
"-verbose"]
:source-paths ["app/src"]
:java-source-paths ["java_guest/src"]
:aot [clojure.tools.logging.impl
app.facade]
the ex:
java.lang.ClassNotFoundException: java_guest.GcalDateTime
(edited)Ok, so lein javac
was pulling base profile deps, which required the java class (circular dep).
lein with-profile base javac
works