JonyEpsilon / gorilla-repl

A rich REPL for Clojure in the notebook style.
http://gorilla-repl.org
MIT License
887 stars 104 forks source link

Update to support Java 9 #282

Closed johannesborgstrom closed 6 years ago

johannesborgstrom commented 6 years ago

When attempting to run under Java 9, an exception is thrown due to a library no longer loading automatically: $ lein gorilla clojure.lang.Compiler$CompilerException: java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter, compiling:(org/httpkit/server.clj:1:1)

Can you add this module explicitely, e.g. :jvm-opts ["--add-modules" "java.xml.bind”] ? See also

benfb commented 6 years ago

This will be in the next release, thanks for the tip!

benfb commented 6 years ago

I just pushed the latest release of gorilla and the Lein plugin to a different repository/fork (org.clojars.benfb/gorilla-repl). The code for that plugin is located here: https://github.com/benfb/lein-gorilla. Jony has been mostly inactive, but I didn't want to make code changes without his approval under his name, so I created the other repository. Please raise any issues you have there. Thanks!

The newly-released version (0.5.0) of the forked plugin should fix this. To use it, just change the lein-gorilla "0.4.0" plugin to org.clojars.benfb/lein-gorilla "0.5.0".