Error when launching a page in a store with a custom tag library
After migrating your store, you attempt to launch a custom store page but exception error messages are logged. You are using a custom tag library in your store.
Problem
An
exception similar to the following
example occurs:
An error has occurred:
Error Code Message Target Servlet Name
500 JSPG0047E: Unable to locate tag library for uri /WEB-INF/struts-tiles.tld /HostedStoreFrontAssetStore/FLPageTemplate.jsp
--------------------------------------------------------------------------------
Stack Trace:
com.ibm.ws.jsp.webcontainerext.JSPErrorReport: JSPG0047E: Unable to locate tag library for uri /WEB-INF/struts-tiles.tld at
com.ibm.ws.jsp.translator.visitor.tagfiledep.TagFileDependencyVisitor.visitCustomTagStart(TagFileDependencyVisitor.java:76) at
com.ibm.ws.jsp.translator.visitor.JspVisitor.processJspElement(JspVisitor.java:366) at
com.ibm.ws.jsp.translator.visitor.JspVisitor.processChildren(JspVisitor.java:419) at
com.ibm.ws.jsp.translator.visitor.JspVisitor.processJspElement(JspVisitor.java:234) at
com.ibm.ws.jsp.translator.visitor.JspVisitor.visit(JspVisitor.java:216) at
com.ibm.ws.jsp.translator.JspTranslator.processVisitors(JspTranslator.java:127) at
...
Solution
Your custom tag libraries were not migrated with your store. Copy the referenced struts-tiles.tld file from your old environment to your new WebSphere Commerce version 7 machine.