Last modified by David Holt on 2006/08/17 16:16

From version 4.1
edited by David Holt
on 2006/08/16 16:51
Change comment: There is no comment for this version
To version 6.1
edited by David Holt
on 2006/08/16 17:02
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,11 +1,7 @@
1 1  Starting with a brand new installation of Eclipse and making a new WOLips project will immediately give you the following warnings in the lower central pane:
2 2  
3 -Severity and Description Path Resource Location Creation Time Id
4 -The serializable class Main does not declare a static final serialVersionUID field of type long WOnderTest/src Main.java line 5 1155760412072 1
3 +[[image:warning.jpg]]
5 5  
6 -Severity and Description Path Resource Location Creation Time Id
7 -The serializable class Session does not declare a static final serialVersionUID field of type long WOnderTest/src Session.java line 5 1155760412016 0
8 -
9 9  Chuck Hill provided the following solution:
10 10  
11 11  "That is not an error, that is a warning. You can safely ignore it.
... ... @@ -14,6 +14,10 @@
14 14  Window - Preferences - Java - Compiler - Errors/Warnings - Potential
15 15  Programming Problems and see the top entry."
16 16  
17 -You'll have to do a rebuild after selecting to ignore "Serializable class wtihout serialVersionUID:"
13 +[[image:Eclipse preference panel.jpg]]
18 18  
15 +You'll have to do a rebuild after selecting to ignore "Serializable class without serialVersionUID:"
16 +
17 +[[image:Rebuild dialog.jpg]]
18 +
19 19  Voila, no more warnings.