I am trying to distribute a small build of web applications using clojure web framework noir. It works as expected when starting with lein run . When I run lein uberjar and then java -jar project-1.0.0-standalone.jar , it works as expected. However, if I move the jar file (project-1.0.0-standalone.jar), it starts, but each page leads to 404. My project.clj is the default value generated by lein noir new , except that I added :omit-source true and :aot :all .
I use:
leiningen 1.7.1
clojure 1.2.1
noir 1.2.1
How can I create a jar that can be distributed to others without a source?
source share