Problem: warning: [serial] serializable class XXXX has no definition of serialVersionUID
Solution: Two ways to get around this:
1. Add to compiling options: -Xlint:all,-serial (or)
2. Declare serialVersionUID in the code
Eg: public static final long serialVersionUID = 24362462L;
Monday, February 26, 2007
|
Back to Top |
No comments:
Post a Comment