java - The type Iterator is not generic; it cannot be parameterized with arguments <CustomTypeName> -
i've read many similiar topics - did not fix issue cause having 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 following:
the type iterator not generic; cannot parameterized arguments <customclassname> i using jre 1.8
java_home variable set c:\program files\java\jdk1.7.0_80
eclipse java ee ide 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>
maybe answear similar question might you
it's late still replying, might helpful others still facing issue. getting same issue. list proper util.list. solution order exports of libraries. if using maven or other libraries :
in project -> build path -> configure build path -> order & exports
check 'jre system libraries' should above 'maven dependencies'
this worked me.


Comments
Post a Comment