Changes for page Pesky 'Serializable class without serialVersionUID' Warnings
Last modified by David Holt on 2006/08/17 16:16
From version 11.1
edited by David Holt
on 2023/11/13 11:58
on 2023/11/13 11:58
Change comment:
Renamed from xwiki:documentation.Pesky 'Serializable class without serialVersionUID' Warnings
To version 5.1
edited by David Holt
on 2006/08/16 16:51
on 2006/08/16 16:51
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 3 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - Pesky 'SerializableclasswithoutserialVersionUID'Warnings1 +Converting an existing XCode project to WOLips - Parent
-
... ... @@ -1,1 +1,0 @@ 1 -WOLips Tutorials - 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:attach: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. 8 - 11 +"That is not an error, that is a warning. You can safely ignore it. 12 +To make it go away: 9 9 10 10 Window - Preferences - Java - Compiler - Errors/Warnings - Potential 11 - 15 +Programming Problems and see the top entry." 12 12 13 - [[image:attach:Eclipsepreferencepanel.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:attach:Rebuild dialog.jpg]] 18 - 19 19 Voila, no more warnings.
- Eclipse preference panel.jpg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Size
-
... ... @@ -1,1 +1,0 @@ 1 -128.2 KB - Content
- Rebuild dialog.jpg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Size
-
... ... @@ -1,1 +1,0 @@ 1 -28.5 KB - Content
- warning.jpg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Size
-
... ... @@ -1,1 +1,0 @@ 1 -50.7 KB - Content