Tag Archives: MyEclipse FAQ

Syntax error, annotations are only available if source level is 1.5 or greater.

Error:
1. Syntax Error, type parameters are only available if source level is 1.5 or greater. PageModel. Java. Java Problem
Syntax error. Type parameters are only available if the source level is 1.5 or greater.

2. Syntax error, Java compiler level does not match the version of the installed Java project facet. Project Problem (Java version Mismatch)
Syntax error, Java compiler level does not match the installed Java project version. Surface engineering problem (Java version mismatch)

3. Syntax error, annotations are only available if source level is 1.5 or greater
Syntax error. Comments are only available if the source level is greater than or equal to 1.5.

4. Syntax Error, Parameterized Types are only available if source level is 1.5 or greater. Java Problem
Syntax error. Parameterized types are only available at source level 1.5 or greater.

Reason: The Java compiler level does not match the Java project version installed
Solution: Project-& GT; Properties-> Java Compiler-> Compiler Compliance Level was selected for JDK version 5.0 or higher