开发者

serialVersionUID for serizlizable class [duplicate]

开发者 https://www.devze.com 2023-02-02 10:24 出处:网络
This question already has answers here: Closed 10 years ago. 开发者_JS百科 Possible Duplicate: What does it mean: The serializable class does not declare a static final serialVersionUID fie
This question already has answers here: Closed 10 years ago.
开发者_JS百科

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

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


You should take a look at Serializable javadoc, which explains this far better than any StackOverflow contributor.

0

精彩评论

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