Resolved: Multiple markers at this line – The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from  required .class files – 2022

Issue: Error while creating Map object in eclipse.

Error: “Multiple markers at this line – The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from  required .class files”

used below eclipse version,

Eclipse IDE for Java Developers, Version: Helios Service Release 1
Build id: 20100917-0705

No error, if we try to work with other class or object of java. issue with only map interface.

Solution:

We have 3 solutions, anyone will help

  1. Restart eclipse
  2. If above solution didn’t work try this, Eclipse >> Project >> uncheck “Build automatically” >> Click on “Clear” >> Clear all project >> Click on OK >> check again “Build automatically” under project tab.
  3. If above solutions didn’t work try this, install eclipse below version,

Eclipse Standard/SDK

Version: Luna Service Release 2 (4.4.2)
Build id: 20150219-0600

Issue resolved.

Please do write in comment section, if this blog useful.

Also write if you are facing different issue or same issue exists, will try to resolve it.

Thanks,

Nagaraj