Solved the @Override error of eclipse