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

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version: 10.3
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:101249][weblogic.servlet.internal.WebAppServletContext@1b5e410 - appName: 'mainWebApp100', name: 'mainWebApp100', 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

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms