Problem:
Sometimes in the Java Eclipse Project will encounter @override error, @override remove the good, but sometimes @overvide too much, can not fundamentally solve the problem.
Analysis:
This is an issue that distinguishes between JDK versions:
In the Jdk1.5 @override already have, but the implementation of the interface is not supported, so error.
After Jdk1.6, both the inheritance of the parent class and the implementation of the interface are supported.
Solve:
First make sure the Jdk1.6 version is already installed on the machine.
Then, select the Eclipse menu Windows->preferences-->java->compiler-->compiler compliance level Select 1.6, refresh the project, recompile.
If the problem is not resolved, in the error project, the right mouse button select Properties-->java Compiler-->compiler compliance Level Select 1.6, refresh the project, recompile.
@override Error Resolution in Java