Troubleshoot and support > Migrate > Store migration


Troubleshoot: 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:

  1. Copy the OrderItemDisplay.jsp file found in the directory:

    • WC_EAR/Stores.war/ storedir/ShoppingArea/ShopcartSection

    to a temporary location on the system

  2. 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>.

  3. Update the application with this modified JSP file.

  4. Refer to Stages of deploying customized assets and follow the instructions for packaging a single JSP file and deploying single JSP file.


+

Search Tips   |   Advanced Search