Unable to process Jar entry [javassist/ByteArrayClassPath.class] from Jar

Solution Unverified - Updated -

Issue

  • We see an error like the following running our application on RHEL 7's tomcat package:
org.apache.catalina.startup.ContextConfig processAnnotationsJar
SEVERE: Unable to process Jar entry [javassist/ByteArrayClassPath.class] from Jar [jar:file:/opt/local/tomcat/pctoolsbe/webapps/iwms/WEB-INF/lib/javassist-3.20.0-GA.jar!/] for annotations
java.io.EOFException
                at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:340)
                at org.apache.tomcat.util.bcel.classfile.Utility.swallowMethodParameters(Utility.java:796)
                at org.apache.tomcat.util.bcel.classfile.Attribute.readAttribute(Attribute.java:171)
                at org.apache.tomcat.util.bcel.classfile.FieldOrMethod.(FieldOrMethod.java:57)
                at org.apache.tomcat.util.bcel.classfile.Method.(Method.java:71)
                at org.apache.tomcat.util.bcel.classfile.ClassParser.readMethods(ClassParser.java:267)

Environment

  • Red Hat Enterprise Linux (RHEL) 7
  • Tomcat 7

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.