Fork me on GitHub
#immutant
<
2018-09-24
>
Dormo06:09:04

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)

Dormo06:09:54

It does create a file, for the cache, though

Dormo06:09:16

(def foo-persistent-cache (immutant.caching/cache "foo-persistent-cache" :persist true))
(.put foo-persistent-cache "A" "B")
^ reproduces the error

Dormo06:09:51

Again, works fine without :persist true

Dormo06:09:47

I'm on Java 10 for what it is worth

Dormo06:09:05

Looks like downgrading to Java 8 fixed it

Dormo06:09:15

Should this be reported?