serialVersionUID for serizlizable class

Possible Duplicate:
What does it mean: The serializable class does not declare a static final serialVersionUID field?

The serializable class VaadintestprojectApplication does not declare a static final serialVersionUID field of type long

  • What does this statement mean? I get an error for this.
  • What does serizlizable class do and why do we need to declare a static final for it.

  • 你应该看看Serializable javadoc,这比任何StackOverflow贡献者都更好地解释了这一点。

    链接地址: http://www.djcxy.com/p/23864.html

    上一篇: serialversionuid是静态的和最终的,但为什么它是可序列化的

    下一篇: serialVersionUID用于serizlizable类