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

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

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Pesky 'Serializable class without serialVersionUID' Errors
1 +Converting an existing XCode project to WOLips
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.kieran
1 +XWiki.dholt
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 -[[image:warning.jpg]]
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
4 4  
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 +
5 5  Chuck Hill provided the following solution:
6 6  
7 -"That is not an error, that is a warning. You can safely ignore it.
11 +"That is not an error, that is a warning. You can safely ignore it.
8 8  To make it go away:
9 9  
10 10  Window - Preferences - Java - Compiler - Errors/Warnings - Potential
11 11  Programming Problems and see the top entry."
12 12  
13 -[[image:Eclipse preference panel.jpg]]
17 +You'll have to do a rebuild after selecting to ignore "Serializable class wtihout serialVersionUID:"
14 14  
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.