When I deserialize object stored in redis, it was failed because of mismatch serialVersionUID. I'm in an app development which involve a lot class and it is frequently updated. Is there any good strategy to handle this? I have noticed that some people might be proposing to declare the serialVersionUID explicitly, but I think it will take a lot of effort and get the code dirty.
↧