Check whether this works:
- Go to your project’s
Properties - On the Properties dialog choose the
Java Compilernode in the left tree. - Finally set the
Compiler compliance levelto 1.5 or more. - Rebuild the project.
Check whether this works:
PropertiesJava Compiler node in the left tree.Compiler compliance level to 1.5 or more.