首页 > 代码库 > The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files

The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files

技术分享 

JDK版本的问题。

 解决方法:

原来jdk1.8不向下兼容,用回1.6的就可以了。

下图有三个jdk,前两个自己装的,第三个MyEclipse自带的。

技术分享

 

The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files