Troubleshooting: Error on OrderItemDisplay.jsp page
After completing migration of WebSphere Commerce, a problem is encountered when ordering items.
Problem
When trying to perform actions on the OrderItemDisplay.jsp page you see the following error:
Root Cause: com.ibm.ws.jsp.JspCoreException:
/ConsumerDirect/ShoppingArea/ShopcartSection/OrderItemDisplay.jsp(749,8)
JSPG0069E: Unmatched end tag found while parsing jsp. Expecting c:otherwise found c:if at [749,8]
Solution
The JSP page has an extra JSTL tag that needs to be removed. Complete the following steps:
- Copy the
OrderItemDisplay.jsp
file found in the directory:- WC_eardir/Stores.war/ storedir/ShoppingArea/ShopcartSection
- Edit the copied
OrderItemDisplay.jsp
file. Go to the line indicated in the error message, for example line 749, and remove the whole line which should only contain</c:if>
. - Update the application with this modified JSP file.
- Refer to Stages of deploying customized assets and follow the instructions for packaging a single JSP file and deploying single JSP file.