---
title: "@Override gives error in eclipse?"
author: "helpbs"
date: "2011-12-28T15:44:00Z"
tags: []
slug: "override-gives-error-in-eclipse"
draft: false
lastmod: "2012-04-24T08:51:02Z"
id: 1495944
url: "https://helpbs.iteye.com/blog/1495944"
---

You're getting the error because you're using Java 1.5 which does not support @Override annotations for implementation overrides. Go into the Eclipse settings and set the language level to 1.6.

EDIT - to change the language level go To Project &gt; Properties &gt; Java Compiler and set the language level there. You may need to click to enable project specific settings.

![](http://hi.csdn.net/attachment/201112/28/0_1325058415naWA.gif)