- Syntax error, parameterized types are only available if source level is 1.5 or greater

Multiple markers at this line     - Syntax error, parameterized types are only available if source level is 1.5 or greater     - The class file Reducer<KEYIN,VALUEIN,KEYOUT,VALUEOUT> contains a signature '(Lorg/apache/hadoop/      mapreduce/Reducer<TKEYIN;TVALUEIN

In the eclipse menu Window ---- preferences ---- java ----- compiler right in the Compiler
compliance level was changed to 1.6
Right-click the project, modifying properties, find the Java
Compiler modify the compiler compliance level is 1.6 or greater

Guess you like

Origin blog.csdn.net/helloworld0906/article/details/89977192