How to determine which class causes the "java.io.InvalidClassException" - "local class incompatible"?
How to determine whic开发者_开发问答h serializable class causes above exception. I tried to read the stack trace, but it is not clear for me... I'm not familiar with the project very well. Thank you!
From java.io.InvalidClassException
javaDoc:
String getMessage()
Produce the message and include the classname, if present.
getMessage()
should tell you the name of the offending class.
精彩评论