java.lang.ClassFormatError: javax/servlet/ServletRequest (Illegal constant pool index)

Coderanch | Amit Jain | 1 decade 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

    Rmic compiler generates this and ask me to file bug !

    Coderanch | 1 decade ago | Amit Jain
    java.lang.ClassFormatError: javax/servlet/ServletRequest (Illegal constant pool index)
  2. 0

    any idea why i am getting this one.

    Coderanch | 1 decade ago | Amit Jain
    java.lang.ClassFormatError: javax/servlet/ServletRequest (Illegal constant pool index)
  3. 0

    RMIC Error while deploying EJB in Solaris 8

    Coderanch | 1 decade ago | George Secillano
    java.lang.ClassFormatError: com/ibm/ejs/container/EJSWrapper (Illegal UTF8 string in constant pool)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    'Bad magic number' Exception

    Oracle Community | 2 decades ago | 843833
    java.lang.ClassFormatError: jrun__jsp__VendorAdmin2ejsp14 (Bad magic number)
  6. 0

    Custom ClassLoader

    Oracle Community | 2 decades ago | 843793
    java.lang.ClassFormatError: ... (Local variable name has bad constant pool index)

    14 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. java.lang.ClassFormatError

      javax/servlet/ServletRequest (Illegal constant pool index)

      at java.lang.ClassLoader.defineClass0()
    2. Java RT
      ClassLoader.defineClass
      1. java.lang.ClassLoader.defineClass0(Native Method)
      2. java.lang.ClassLoader.defineClass(ClassLoader.java:486)
      3. java.lang.ClassLoader.defineClass(ClassLoader.java:426)
      3 frames
    3. Java Tools
      ClassPathLoader.findClass
      1. sun.rmi.rmic.iiop.ClassPathLoader.findClass(ClassPathLoader.java:34)
      1 frame
    4. Java RT
      ClassLoader.loadClass
      1. java.lang.ClassLoader.loadClass(ClassLoader.java:297)
      2. java.lang.ClassLoader.loadClass(ClassLoader.java:253)
      2 frames
    5. Java Tools
      CompoundType.initialize
      1. sun.rmi.rmic.iiop.CompoundType.loadClass(CompoundType.java:314)
      2. sun.rmi.rmic.iiop.Type.initClass(Type.java:964)
      3. sun.rmi.rmic.iiop.Type.setRepositoryID(Type.java:981)
      4. sun.rmi.rmic.iiop.CompoundType.initialize(CompoundType.java:755)
      4 frames