2 Replies Latest reply on Jun 6, 2011 9:22 AM by kwutzke

    h:head not found using Mojarra 2.0.x on JBAS 6

    kwutzke

      Hello,

       

      I've just started to use RichFaces and I needed to use h:head and h:body in my template. However, I get an exception:

      An Error Occurred:

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

       

      Seems like h:head and h:body are JSF 2.0 only, which I thought I'd use, but obviously there's a problem. The JBoss AS 6 JSF 2.0 deployer is supposed to be triggered. This is from the server startup log:

       

      {code}02:38:50,442 INFO  [javax.enterprise.resource.webcontainer.jsf.config] Mojarra 2.0.3 ( b05) für Kontext '/bbstats' wird initialisiert.{code}

       

      Strange. I should work. I suspect some kind of classloader problem here. Here are the JARs I deploy with the WAR:

       

      commons-lang-2.5.jar
      jboss-el.jar
      jboss-seam.jar
      jboss-seam-ui.jar
      jsf-facelets.jar
      commons-digester.jar
      richfaces-api.jar
      richfaces-impl.jar
      richfaces-ui.jar

       

      Note the original posting can be found here for more in-depth config info etc.: http://community.jboss.org/message/608227

       

      Any ideas what could be going wrong?

       

      Karsten