2 Replies Latest reply on Jan 21, 2011 7:07 AM by gopi balagala

    Upgrade JBoss 5.1 AS to JSF2

    gopi balagala Newbie

      I've done this way with JBoss 5.1 (using Seam 2.2.1.CR1) and got this error when loading page:

      <h:head> Tag Library supports namespace: http://java.sun.com/jsf/html, but no tag was defined for name: head

      I know there is a <h:head> in JSF 2 and the tag is in the .xhtml. Am I wrong? Maybe a facelet problem?

                       Please help me.

      Thanks.

        • 1. Upgrade JBoss 5.1 AS to JSF2
          Nicklas Karlsson Master

          Where did you stick the JSF jars?

          • 2. Re: Upgrade JBoss 5.1 AS to JSF2
            gopi balagala Newbie

            I followed this step,

             

                         JBoss AS 5.0 or greater, copy the jars to <JBOSS_HOME>/server/default/deploy/jbossweb.sar/jsf-libs.

             

             

            After deployed my application server running fine, once accessing the application I got this exception Tag Library supports namespace: http://java.sun.com/jsf/html, because I have used JSF2 tags <h:head>

             

            Server Exception:

            -----------------------------

            java.io.IOException: Error parsing [vfszip:/C:/servers/jboss-5.1.0.GA/server/default/deploy/jbossweb.sar/jsf-libs/jsf-impl.jar/com/sun/faces/metadata/taglib/composite.taglib.xml]:

             

            Caused by: org.xml.sax.SAXException: Error Handling [vfszip:/C:/servers/jboss-5.1.0.GA/server/default/deploy/jbossweb.sar/jsf-libs/jsf-impl.jar/com/sun/faces/metadata/taglib/composite.taglib.xml@41,29]