My Oracle Support Banner

Getting Weblogic.servlet.jsp.CompilationException: (Doc ID 2457375.1)

Last updated on OCTOBER 09, 2018

Applies to:

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

Symptoms

On : 12.2.1.3.0 version, Web Container

 
Upgrading from Java 6 to Java 8 and Weblogic 10 to Weblogic 12c.
Getting the below exception compiling a JSP while deploying to weblogic 12c.


ERROR
-----------------------

10:31:58,971 org.springframework.web.servlet.DispatcherServlet render - Error rendering view [org.springframework.web.servlet.view.tiles2.TilesView: name 'cba_dashboard'; URL [cba_dashboard]] in DispatcherServlet with name 'spring-config'
org.apache.tiles.impl.CannotRenderException: JSPException including path '/WEB-INF/view/dashboard/cba_dashboard.jsp'.
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:692)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:644)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:627)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:321)
at org.springframework.web.servlet.view.tiles2.TilesView.renderMergedOutputModel(TilesView.java:109)
...
Caused by: weblogic.servlet.jsp.CompilationException: Failed to compile JSP /WEB-INF/view/dashboard/cba_dashboard.jsp
cba_dashboard.jsp:104:37: Syntax error in expression. Encountered "||". Expected one of : "->",
<c:when test="${((myValidation) || (validationDelegate))}">
                                                               ^
cba_dashboard.jsp:128:48: Syntax error in expression. Encountered "||". Expected one of : "->",
               <c:if test="${!((myValidation) || (validationDelegate))}">
                                              ^







 

Changes

 

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
Changes
Cause
Solution


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