开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜