My Oracle Support Banner

weblogic.servlet.jsp.CompilationException For Javax.servlet-api 3.0.1 And Jsp-api-2.2 Based Web Application On Weblogic 12.2.1 (Doc ID 2278035.1)

Last updated on APRIL 13, 2020

Applies to:

Oracle WebLogic Server - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

A J2EE app functionality breaks when the user click on a button. The jsp page is not rendering properly and the logs shows JSP compilation error (Syntax error in expression). The same application was running without issues on 12.1.3. The issue is seen after upgrading to 12.2.1.

Upon debugging using Eclipse IDE on org.springframework.web.servlet.DispatcherServlet, we found the issue being thrown is as below:


Application is not having any direct or transitive dependency on 'javax.faces' module. As per -verbose:class logging of class loader, javax.faces module is getting loaded from glassfish.jsf.jar of Web Container (Weblogic). Path: $Oracle_Home/wlserver/modules/

As per 'MANIFEST.MF' file of 'glassfish.jsf.jar' in Weblogic 12.1.3 & Weblogic 12.2.1, javax.faces version is '2.1' for WLS 12.1.3 and '2.2' for WLS 12.2.1.

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.