我正在尝试将KRYO序列化与Hazelcast集成,但由于以下错误而无法成功。
当Map正在进行初始化时,会发生错误。有人可以对此有所了解吗?
Mar 16, 2014 3:00:39 PM com.hazelcast.map.operation.PutAllOperation
SEVERE: [10.153.233.113]:5700 [spring-group] [3.2-RC1] com.hazelcast.nio.serialization.HazelcastSerializationException: java.lang.LinkageError: loader (instance of com/esotericsoftware/reflectasm/AccessClassLoader): attempted duplicate class definition for name: "com/model/AgreementVOConstructorAccess"
com.hazelcast.query.impl.QueryException: com.hazelcast.nio.serialization.HazelcastSerializationException: java.lang.LinkageError: loader (instance of com/esotericsoftware/reflectasm/AccessClassLoader): attempted duplicate class definition for name: "com/model/AgreementVOConstructorAccess"
at com.hazelcast.query.impl.QueryEntry.extractViaReflection(QueryEntry.java:96)
at com.hazelcast.query.impl.QueryEntry.getAttribute(QueryEntry.java:79)
at com.hazelcast.query.impl.IndexImpl.saveEntryIndex(IndexImpl.java:62)
at com.hazelcast.query.impl.IndexService.saveEntryIndex(IndexService.java:68)
at com.hazelcast.map.DefaultRecordStore.saveIndex(DefaultRecordStore.java:880)
at com.hazelcast.map.DefaultRecordStore.putFromLoad(DefaultRecordStore.java:811)
at com.hazelcast.map.operation.PutAllOperation.run(PutAllOperation.java:71)
at com.hazelcast.spi.impl.BasicOperationService.processOperation(BasicOperationService.java:364)
at com.hazelcast.spi.impl.BasicOperationService.access$800(BasicOperationService.java:107)
at com.hazelcast.spi.impl.BasicOperationService$BasicOperationProcessorImpl.process(BasicOperationService.java:769)
at com.hazelcast.spi.impl.BasicOperationScheduler$PartitionThread.process(BasicOperationScheduler.java:266)
at com.hazelcast.spi.impl.BasicOperationScheduler$PartitionThread.doRun(BasicOperationScheduler.java:260)
at com.hazelcast.spi.impl.BasicOperationScheduler$PartitionThread.run(BasicOperationScheduler.java:235)
答案 0 :(得分:0)