java.io.InvalidClassException: local class incompatible:

前端 未结 7 1866
伪装坚强ぢ
伪装坚强ぢ 2020-11-29 02:46

I created client and server and then added a class in client side for serializing purposes, then simply just went to the folder of the client in my hard drive and copy paste

7条回答
  •  猫巷女王i
    2020-11-29 03:29

    The exception message clearly speaks that the class versions, which would include the class meta data as well, has changed over time. In other words, the class structure during serialization is not the same during de-serialization. This is what is most probably "going on".

提交回复
热议问题