Wiki source code of Pesky 'Serializable class without serialVersionUID' Warnings
Last modified by David Holt on 2006/08/17 16:16
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 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 | |||
| 3 | [[image:attach:warning.jpg]] | ||
| 4 | |||
| 5 | Chuck Hill provided the following solution: | ||
| 6 | |||
| 7 | "That is not an error, that is a warning. You can safely ignore it. | ||
| 8 | To make it go away: | ||
| 9 | |||
| 10 | Window - Preferences - Java - Compiler - Errors/Warnings - Potential | ||
| 11 | Programming Problems and see the top entry." | ||
| 12 | |||
| 13 | [[image:attach:Eclipse preference panel.jpg]] | ||
| 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 | Voila, no more warnings. |