| [news.eclipse.tools.jdt] Re: [Eclipse 3.1 RC1+ VE 2.1 M1] Why do I get a "serializable class error" when my class doesn't implement serializable interface? |
Now I know...
Hi,
I've just updated Eclipse with all the latest, and now I'm getting an error:
"The serializable class MyJFrame does not declare a static final serialVersionUID field of type long."
Why do I get this error since the offending class doesn't implement the serializable interface? It is just a 'visual class' (JFrame) created using the wizard? Interestingly it builds and runs just fine.
Thanks very much for your help. PretzelX.