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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by 666705, 1 year ago
servletspkg/MainServlet (Illegal constant pool type).
via Oracle Community by 663867, 1 year ago
Illegal class name "[L[Ljava/lang/String;;" in class file jsp_servlet/_admin/__perms8.
via Oracle Community by 862028, 1 year ago
jsp_servlet/_jsp/_common/_booking/__summary : illegal attribute length (SourceDebugExtension:71790).' javax.servlet.ServletException: [HTTP:101249][weblogic.servlet.internal.WebAppServletContext@1fb0032 - appName: 'bookingApp', name: 'bookingWeb
java.lang.ClassFormatError: servletspkg/MainServlet (Illegal constant pool type).
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:834)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:535)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:373)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.