We are writing a
java object in OutputStream,with defined serialVersionUID (4197884), and reading the java object again from the OutputStream.
But while reading we are getting the following exception
java.io.InvalidClassException: com.acnielsen.arch.config.service.ServiceConfig; local class incompatible: stream classdesc serialVersionUID = 2787697398409320177, local class serialVersionUID = 4197884
Is there any way to make the serialVersionUID compatible for stream classdesc and local class.
Thanks in advance.
Regards,
Barath