Closed sanel closed 7 years ago
Using clojure-maven-plugin, in case of exception, monroe will sometimes ends up in loop with this output:
demo=> ClassNotFoundException clojure.repl java.net.URLClassLoader.findClass (URLClassLoader.java:381) demo=> ClassNotFoundException clojure.repl java.net.URLClassLoader.findClass (URLClassLoader.java:381) demo=> ClassNotFoundException clojure.repl java.net.URLClassLoader.findClass (URLClassLoader.java:381) demo=> ClassNotFoundException clojure.repl java.net.URLClassLoader.findClass (URLClassLoader.java:381) demo=> ClassNotFoundException clojure.repl java.net.URLClassLoader.findClass (URLClassLoader.java:381) demo=> ClassNotFoundException clojure.repl java.net.URLClassLoader.findClass (URLClassLoader.java:381) demo=> ClassNotFoundException clojure.repl java.net.URLClassLoader.findClass (URLClassLoader.java:381) demo=> ClassNotFoundException clojure.repl java.net.URLClassLoader.findClass (URLClassLoader.java:381) demo=> ClassNotFoundException clojure.repl java.net.URLClassLoader.findClass (URLClassLoader.java:381) demo=> ClassNotFoundException clojure.repl java.net.URLClassLoader.findClass (URLClassLoader.java:381) demo=> ClassNotFoundException clojure.repl java.net.URLClassLoader.findClass (URLClassLoader.java:381) demo=> ClassNotFoundException clojure.repl java.net.URLClassLoader.findClass (URLClassLoader.java:381) demo=> ClassNotFoundException clojure.repl java.net.URLClassLoader.findClass (URLClassLoader.java:381) demo=> ClassNotFoundException clojure.repl java.net.URLClassLoader.findClass (URLClassLoader.java:381) demo=> ClassNotFoundException clojure.repl java.net.URLClassLoader.findClass (URLClassLoader.java:381) d
Reason is that clojure-maven-plugin is not loading clojure.repl namespace.
clojure-maven-plugin
clojure.repl
It happens also with lein repl :headless and most other situations in which nRepl is embedded in an application.
lein repl :headless
Didn't know about this. Thanks for letting me know.
Added a fix to this to #19.
Using clojure-maven-plugin, in case of exception, monroe will sometimes ends up in loop with this output:
Reason is that
clojure-maven-plugin
is not loadingclojure.repl
namespace.