Question: the method of type class must override a superclass method?
Answer: 8 Answers. Check the project's properties and verify that Java Compiler -> Compiler compliance level is set to 1.6. This is most likely due to a source code level incompatibility between Java 1.5 and 1.6. In Java 5, the @Override annotation requires that the method is actually overriding a method in a superclass.