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

From version 5.1
edited by David Holt
on 2006/08/16 16:51
Change comment: There is no comment for this version
To version 7.1
edited by Kieran Kelleher
on 2006/08/16 22:59
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Converting an existing XCode project to WOLips
1 +Pesky 'Serializable class without serialVersionUID' Errors
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.dholt
1 +XWiki.kieran
Content
... ... @@ -1,19 +1,19 @@
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 -"That is not an error, that is a warning. You can safely ignore it.
7 +"That is not an error, that is a warning. You can safely ignore it.
12 12  To make it go away:
13 13  
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.