I'm having some trouble with Immutant.caching. Everything seems to work fine unless I use :persist true
, in which case I get the following error when I try to .put
:
NoClassDefFoundError Could not initialize class org.infinispan.commons.marshall.jboss.ExtendedRiverMarshaller org.infinispan.commons.marshall.jboss.JBossMarshallerFactory.createMarshaller (JBossMarshallerFactory.java:49)
It does create a file, for the cache, though
(def foo-persistent-cache (immutant.caching/cache "foo-persistent-cache" :persist true))
(.put foo-persistent-cache "A" "B")
^ reproduces the errorAgain, works fine without :persist true
I'm on Java 10 for what it is worth
Looks like downgrading to Java 8 fixed it
Should this be reported?
@vheuken couldn't hurt! much appreciated: https://issues.jboss.org/projects/IMMUTANT