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 JUNE 12, 2023

Applies to:

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


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, it was 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 (WeblLgic). Path: $Oracle_Home/wlserver/modules/

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




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

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