eclipse出现错误:he type java.util.Map$Entry cannot be resolved. It is indirectly referenced

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 之后 清除 构建下就好了

或者 换个版本的tomcat运行
原文地址:https://www.cnblogs.com/haimishasha/p/5705718.html