Serialization exception in HazelCast 3.5 with Scala -


i using hazelcast 3.5 scala have case class abc trying store object of class in hazelcast client gives me serialization exception

here class

 @serialversionuid(1)     case class abc( id : int ,name : string , subjectcode : mutablelist[int]) extends serialable  

when run client code gives me following exception

18:33:43.274 [hz._hzinstance_1_dev.partition-operation.thread-1] error c.h.map.impl.operation.putoperation - [192.168.15.20]:5701 [dev] [3.5] java.lang.classnotfoundexception: scala.collection.mutable.mutablelist com.hazelcast.nio.serialization.hazelcastserializationexception: java.lang.classnotfoundexception: scala.collection.mutable.mutablelist     @ com.hazelcast.nio.serialization.defaultserializers$objectserializer.read(defaultserializers.java:201) ~[hazelcast-3.5.jar:3.5]     @ com.hazelcast.nio.serialization.streamserializeradapter.read(streamserializeradapter.java:41) ~[hazelcast-3.5.jar:3.5]     @ com.hazelcast.nio.serialization.serializationserviceimpl.toobject(serializationserviceimpl.java:276) ~[hazelcast-3.5.jar:3.5]     @ com.hazelcast.map.impl.mapstore.abstractmapdatastore.toobject(abstractmapdatastore.java:78) ~[hazelcast-3.5.jar:3.5] 

your cluster must run same codebase (in case scala jar) clients.


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -