Why does compilation of JSP fail on RHEL 6 tomcat with latest Java 1.8?

Solution Verified - Updated -

Issue

  • Why does compilation of JSPs fail on RHEL 6 tomcat with latest OpenJFK Java 1.8 updates?

    The type java.io.ObjectInputStream cannot be resolved.
    

    or

    The type java.util.Map$Entry cannot be resolved.
    

Environment

  • Red Hat Enterprise Linux (RHEL) 6
  • Tomcat 6
  • OpenJDK 1.8 version 1.8.0.91-0.b14.el6_7 or later
  • ecj version 3.4.2-6.el6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In