org.apache.tomcat.util.bcel.classfile.ClassFormatException: null is not a Java .class file

Oracle Community | HardikGupta | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    To add servlet in JSK

    Oracle Community | 3 years ago | HardikGupta
    org.apache.tomcat.util.bcel.classfile.ClassFormatException: null is not a Java .class file
  2. 0

    Tomcat startup hangs (fixes only after restarting OS)

    Stack Overflow | 1 year ago | B_G
    org.apache.tomcat.util.bcel.classfile.ClassFormatException: null is not a Java .class file
  3. 0

    Tomcat 7 + Java 8 : Invalid byte tag in constant pool: 15

    mkyong.com | 7 months ago
    org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 15
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 60

    tagwith.com | 1 year ago
    org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 60

  1. jpvee 34 times, last 3 months ago
43 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.apache.tomcat.util.bcel.classfile.ClassFormatException

    null is not a Java .class file

    at org.apache.tomcat.util.bcel.classfile.ClassParser.readID()
  2. org.apache.tomcat
    ClassParser.parse
    1. org.apache.tomcat.util.bcel.classfile.ClassParser.readID(ClassParser.java:238)
    2. org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:114)
    2 frames
  3. Glassfish Core
    ContainerBase$StartChild.call
    1. org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2104)
    2. org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:2079)
    3. org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:2072)
    4. org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:2072)
    5. org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1299)
    6. org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)
    7. org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:369)
    8. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    9. org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
    10. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5173)
    11. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    12. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
    13. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
    13 frames
  4. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    5. java.lang.Thread.run(Thread.java:662)
    5 frames