今天,学习Netty框架时遇到error:Description Resource Path Location Type:The project was not built since its build path is incomplete. Cannot find the class file for java.util.Map$Entry. Fix the build path then try building this project NettyTest Unknown Java Pr
java.util.Map.Entry接口主要就是在遍历map的时候用到,给你个例子:package test;import java.util.*;import java.util.Map.Entry;public class B { public static void main(String[] args) { Map<Integer,Integer> mm = new HashMap<Integer,Integer>(); for(int i=0;i<10;i++)
eclipse出现错误:he type java.util.Map$Entry cannot be resolved. It is indirectly referenced jre 换成6的就好了选中项目->右键->java build path ->找到jre system library ->选择edit->进入界面选择alternate jre ->在后面的installed jres..里选择jdk1.6的目录上的jre ->ok 之后 清除 构建下就好