java.io.InvalidClassException stream classdesc serialVersionUID = -572370104634

ERROR net.rubyeye.xmemcached.transcoders.BaseSerializingTranscoder - Caught IOException decoding 4989 bytes of data
java.io.InvalidClassException: org.hibernate.collection.AbstractPersistentCollection; local class incompatible: stream classdesc serialVersionUID = -5723701046347946317, local class serialVersionUID = 7602608801868099635

 

恭喜你找到解决方案了,这个问题序列话的问题.如果serialVersionUID两边保守一致的话,80%就是环境问题.检查一下jdk是否同一个版本,相关的包是否是相同版本.必定可以解决.

你可能感兴趣的:(java,jdk,Hibernate,.net)