Wiki source code of Pesky 'Serializable class without serialVersionUID' Errors
Version 7.1 by Kieran Kelleher on 2006/08/16 22:59
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
2.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 | |||
![]() |
6.1 | 3 | [[image:warning.jpg]] |
![]() |
2.1 | 4 | |
5 | Chuck Hill provided the following solution: | ||
6 | |||
![]() |
7.1 | 7 | "That is not an error, that is a warning. You can safely ignore it. |
![]() |
2.1 | 8 | To make it go away: |
9 | |||
10 | Window - Preferences - Java - Compiler - Errors/Warnings - Potential | ||
11 | Programming Problems and see the top entry." | ||
12 | |||
![]() |
6.1 | 13 | [[image:Eclipse preference panel.jpg]] |
![]() |
2.1 | 14 | |
![]() |
6.1 | 15 | You'll have to do a rebuild after selecting to ignore "Serializable class without serialVersionUID:" |
16 | |||
17 | [[image:Rebuild dialog.jpg]] | ||
18 | |||
![]() |
2.1 | 19 | Voila, no more warnings. |