java.lang.ClassFormatError: servletspkg/MainServlet (Illegal constant pool type).

Oracle Community | 666705 | 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

    servlet MainServlet could not be loaded because the requested class was not

    Oracle Community | 1 decade ago | 666705
    java.lang.ClassFormatError: servletspkg/MainServlet (Illegal constant pool type).
  2. 0

    Cactus framework not working on WebLogic 9.2

    Oracle Community | 9 years ago | 666705
    java.lang.ClassFormatError: org.apache.cactus.server.runner.ServletTestRunner.

    Root Cause Analysis

    1. java.lang.ClassFormatError

      servletspkg/MainServlet (Illegal constant pool type).

      at weblogic.servlet.internal.ServletStubImpl.prepareServlet()
    2. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:834)
      2. weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:535)
      3. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:373)
      4. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
      5. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
      5 frames
    3. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    4. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      1 frame
    5. Atmosphere weblogic
      ServletRequestImpl.execute
      1. weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
      2. weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
      2 frames
    6. weblogic.kernel
      ExecuteThread.run
      1. weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
      2. weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
      2 frames