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 10, 2022
Applies to:Oracle WebLogic Server - Version 18.104.22.168.0 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, 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.
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