0

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.

Sergey Ponomarev
  • 2,947
  • 1
  • 33
  • 43
Abhishek
  • 743
  • 1
  • 15
  • 28
  • Which version of Eclipse are you using? It is Luna? – Alexis C. Apr 08 '15 at 16:07
  • hmmm, could you check the eclipse configuration especially for installed java runtime? – kucing_terbang Apr 08 '15 at 16:12
  • 2
    http://stackoverflow.com/questions/26102115/error-when-using-logmanager-l4j2-with-java-8-java-lang-reflect-annotatedeleme may have an answer already, based off http://stackoverflow.com/questions/26700824/jdk-8-the-type-java-util-mapentry-cannot-be-resolved – Phil Hayward Apr 08 '15 at 16:23
  • Alexis C. Yes, it is Luna. The problem got resolved, when I downgraded to JDK 1.7 and Tomcat 7. Thanks. – Abhishek May 01 '15 at 05:49

0 Answers0