I am upgrading my Mojarra JSF 2.0 on my web app to the latest stable version of Mojarra JSF2.1.9 . The pages were loading ok with the earlier version of Mojarra. But with the new version I am getting the following error message while loading a JSF page which has got composite components.
/faces/page.xhtml @8,62 Tag Library supports namespace: http://java.sun.com/jsf/composite/components, but no tag was defined for name: webContent
javax.faces.webapp.FacesServlet.service(FacesServlet.java:606)
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1597)
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
I have a composite element 'webContent' defined within my web application at the location'/resources/components' and it used to work with the earlier version of Mojarra JSF. Any clue , why am I getting this crash.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…