Fork me on GitHub
Ivan Fedorov18:10:41

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"
  :source-paths ["app/src"]
  :java-source-paths ["java_guest/src"]

:aot [
the ex: java.lang.ClassNotFoundException: java_guest.GcalDateTime (edited)

Ivan Fedorov20:10:35

Ok, so lein javac was pulling base profile deps, which required the java class (circular dep). lein with-profile base javac works