Tomcat's nashorn JAR is causing problems with Java 8

Solution Verified - Updated -


Tomcat is failing at startup with the following message

Sep 20, 2018 4:38:17 PM org.apache.catalina.startup.ContextConfig processAnnotationsJar
SEVERE: Unable to process Jar entry [jdk/nashorn/internal/objects/NativeURIError.class] from Jar [jar:file:/usr/lib/jvm/java-1.8.0-openjdk-!/] for annotations
org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 15


  • Red Hat Enterprise Linux (RHEL)
    • 7.x
  • Red Hat JBoss Web Server (JWS)
    • 3.x
  • Apache Tomcat
    • 7.x
  • OpenJDK Runtime Environment
    • 1.8.x

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