Changes for page Pesky 'Serializable class without serialVersionUID' Warnings
Last modified by David Holt on 2006/08/17 16:16
From version 3.1
edited by David Holt
on 2006/08/16 16:58
on 2006/08/16 16:58
Change comment:
There is no comment for this version
To version 7.1
edited by Kieran Kelleher
on 2006/08/16 22:59
on 2006/08/16 22:59
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - Convertinganexisting XCodeproject toWOLips1 +Pesky 'Serializable class without serialVersionUID' Errors - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. dholt1 +XWiki.kieran - Content
-
... ... @@ -1,14 +1,10 @@ 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. 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 ... ... @@ -16,7 +16,7 @@ 16 16 17 17 [[image:Eclipse preference panel.jpg]] 18 18 19 -You'll have to do a rebuild after selecting to ignore "Serializable class w tihout serialVersionUID:"15 +You'll have to do a rebuild after selecting to ignore "Serializable class without serialVersionUID:" 20 20 21 21 [[image:Rebuild dialog.jpg]] 22 22