Question: java the method of type must override a superclass method?
Answer:  Select Project, Right-click, Properties.  Select Java Compiler and check the checkbox "Enable project specific settings"  Now make Compiler compliance level to 1.6.  Apply changes.