Firstly I was getting the Exception - `
java.io.InvalidClassException local class incompatible: stream classdesc serialVersionUID = 4597316331807173261, local class serialVersionUID = -3344057582987646196`,
as there is not a serialVersionUID in the class COOKIE of the API HtmlUnit that I am using, this exception occurs as the class Cookie is changed because we upgrade the version of HtmlUnit that we are using, so what idea comes to my mind is to avoid the matching of serialversionUID while deserialing, so I have tried the below solution ::
How to deserialize an object persisted in a db now when the object has different serialVersionUID
and Now it converts my streamUID to LocalUID but this exception comes to me
StreamCorruptedException: invalid type code: 00