I'm trying to develop my own plugin which makes use of Openfire's caching. In my plugin, I create a Cache (org.jivesoftware.util.cache), myMap, mapping types String to MyClass. MyClass implements Externalizable, overwriting writeExternal() and readExternal(). I'm able to succesfully cluster my Openfire servers, but when I call myMap.get(...), I get the following error stack in Openfire's log every time:
Caused by: java.io.IOException: Problem reading Externalizable class : com.mypackage.MyClass, exception: java.lang.ClassNotFoundException: com.mypackage.MyClass
at com.hazelcast.nio.DefaultSerializer$Externalizer.read(DefaultSerializer.java:35 1)
at com.hazelcast.nio.DefaultSerializer$Externalizer.read(DefaultSerializer.java:33 1)
... 43 more
I'm trying to figure out what I'm doing wrong and was wondering if anyone knew what I would need to do to fix this issue. Thanks in advance for any help.