Closed kohyama closed 8 years ago
It seems to be caused by CLJ-1544. http://dev.clojure.org/jira/browse/CLJ-1544 So what should I do in this case?
You could try building lein-light-nrepl from source yourself (pending a 0.2.0 release of the clojure plugin)
cd lein-light-nrepl
lein with-profile production install
; with-profile to ensure clojure-complete doesn't get test scope !Great! It works fine with self-built 0.2.0. Thank you so much for your comment, rundis. I use this self-built version until the 0.2.0 release and hope the release will go well.
I have a project whose -main starts a nrepl server with '(clojure.tools.nrepl.server/start-server :handler (clojure.tools.nrepl.server/default-handler #'lighttable.nrepl.handler/lighttable-ops))`
When I run the project with
lein run
, it works.But
lein uberjar
-ed standalone.jar can't be executed byjava -jar
and throws java.lang.ExceptionInInitializerError below.I don't sure if it's a problem of lighttable.nrepl.handler. Does anyone know what's wrong?
More details: https://gist.github.com/kohyama/1fd05f5ece19a0e50b88