My Oracle Support Banner

java.lang.ClassFormatError When Using Eclipse JDT Compiler with WebLogic Server (WLS) 10.3.0 (Doc ID 886997.1)

Last updated on OCTOBER 29, 2019

Applies to:

Oracle WebLogic Server - Version 10.3 and later
Information in this document applies to any platform.
This document is applicable to WebLogic Server (WLS) 10.3 GA (10.3.0) only. Earlier versions of WLS do not show the problem, and WLS 10.3.1+ is already fixed.


Symptoms

A java.lang.ClassFormatError is observed when using the Eclipse JDT compiler with WebLogic Server (WLS) 10.3 GA (10.3.0).

Previous releases of WebLogic Server would work without any problem. But on a WLS 10.3.0 domain, this kind of error occurs:

App100', context-path: '', spec-version: 'null'] Root cause of ServletException.
javax.servlet.ServletException: [HTTP:xxxx][weblogic.servlet.internal.WebAppServletContext@1b5e410 - appName: 'MyWebApp', name: 'MyWebApp', context-path: '', spec-version: 'null']: Servlet class jsp_servlet.__test for servlet /test.jsp could not be loaded because the requested class was not found in the classpath.
java.lang.ClassFormatError: Illegal class name "[L[Ljava/lang/String;;" in class file jsp_servlet/__test.
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:533)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:262)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:182)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:235)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
Truncated. see log file for complete stacktrace
>

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.