I've read many similiar topics - but they did not fix my issue cause i am having good import:
import java.io.IOException;
import java.io.InputStream;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
The issue is following:
The type Iterator is not generic; it cannot be parameterized with arguments <CustomClassName>
I am using JRE
1.8
JAVA_HOME
Variable
is set to C:\Program Files\Java\jdk1.7.0_80
Eclipse Java EE IDE for Web Developers.
Version: Mars.2 Release (4.5.2)
Build id: 20160218-0600
What's wrong??
maven compiler plugin
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.0</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>