Missing riddley.util requirement?
jphackworth opened this issue · comments
If I have capacitor 0.2.2 in my project deps, it will cause an exception when required, due to missing dependency on riddley.util. It works fine if I add riddley to my project deps manually. Not sure what's happening, since riddley doesn't seem to be explicitly referenced in capacitor's dependencies. Let me know if I can help debug it further.
=> (require '[capacitor.core :as inf])
ClassNotFoundException riddley.Util java.net.URLClassLoader$1.run (URLClassLoader.java:372)
=> (pst)
ClassNotFoundException riddley.Util
java.net.URLClassLoader$1.run (URLClassLoader.java:372)
java.net.URLClassLoader$1.run (URLClassLoader.java:361)
java.security.AccessController.doPrivileged (AccessController.java:-2)
java.net.URLClassLoader.findClass (URLClassLoader.java:360)
java.lang.ClassLoader.loadClass (ClassLoader.java:424)
sun.misc.Launcher$AppClassLoader.loadClass (Launcher.java:308)
java.lang.ClassLoader.loadClass (ClassLoader.java:357)
java.lang.Class.forName0 (Class.java:-2)
java.lang.Class.forName (Class.java:259)
riddley.compiler/loading--4910--auto-- (compiler.clj:1)
riddley.compiler__init.load (:1)
riddley.compiler__init.<clinit> (:-1)
nil
I am not sure what could be causing this for you. I was not able to reproduce.
Did you try removing your target/
directory to clean your compiled classes?
@jphackworth I had the same issue. It was related to one of my dependency that downgraded the library potemkin
to an earlier version than version 0.3.4 required by capacitor. Inspect carefully the output of lein deps :tree
to see if you spot the same problem (on my project, this older version was pulled by lamina
).