Issue
When I am trying to create Enums, my eclipse IDE keeps on giving error: The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from required .class files.
Solution
It is a known bug, please try to update to the latest version.
https://bugs.openjdk.java.net/browse/JDK-8155223 Accordind to this site: This should be resolved by upgrading to latest versions of Tomcat.
Answered By - Omar Lugiai
Answer Checked By - Gilberto Lyons (JavaFixing Admin)