Recently developed using redis object serialization, then taken out from the deserialization redis, at that time has been an error. The Java lang. Exception: Failed to deserialize, unable to serialization, and then I put the object in json format, then unexpectedly deserialization success, is this why, who bosses can answer, deposit is in A system, A system under the condition of the objects have no turn json can be deserialized normally, but b system through the key as well as A system, can't succeed, can only turn json
CodePudding user response:
Object does not implement serializable interface,