Swirrl / drafter

A clojure service and a client to it for exposing data management operations to PMD
Other
0 stars 0 forks source link

Skinny jar does not work for auth0 configuration #640

Closed lkitching closed 1 year ago

lkitching commented 2 years ago

Skinny jars build using build.clj do not work when starting with the auth0 configuration. Building the jar with

clj -T:build skinny

and then attempting to run from the target directory with

java -cp 'lib/*:drafter.jar' clojure.main -m drafter.main ../../package/install/drafter-prod-auth0.edn

causes the following error on startup

Could not locate swirrl/auth0/middleware__init.class, swirrl/auth0/middleware.clj or swirrl/auth0/middleware.cljc on classpath