weblogic.servlet.jsp.CompilationException For Javax.servlet-api 3.0.1 And Jsp-api-2.2 Based Web Application On Weblogic 12.2.1
Last updated on OCTOBER 13, 2017
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.
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