Unable to compile class for JSP

error

 

Unable to compile class for JSP: The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files

 

  • You have just upgrade to java 8. 
  • Yo haven't upgraded tomcat or you did.

 

Make sure you do not have an older ecj-*.jar file in your classpath.  Removing the older jar will resolve the error. ecj-4.4.2.jar should work.