Java: Upgrading to JDK 1.8 java.util.Map$Entry cannot be resolved

436 Views Asked by At

Situation: I have a simple java application, which also reads a property file. It used to work fine in JDK 1.7.

Problem: After upgrading to JDK 1.8 and Tomcat 8, I get the following error:

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

Things I did: I updated Eclipse plugins, I upgraded Tomcat 7 to Tomcat 8, and added ec-4.jar.

However, nothing worked, and the error still remains.

0

There are 0 best solutions below