5 Replies Latest reply on Dec 10, 2010 8:13 AM by Jean Hansen

    Getting "no tag was defined for name" on rich and a4j tags

    Diogo Bastos Newbie

      Hi there,

       

      First post here so be gentle

       

      I've been trying to get a project working for a while but still haven't been able to do it.

      During tomcat startup I don't get any errors or warnings so I can't find any obvious (to me, at least) reason why this isn't working.

       

      Whenever I use a rich: or a4j: tag I get the following errors (for example):

       

      /index.xhtml @19,40 <rich:separator> Tag Library supports namespace: http://richfaces.org/rich, but no tag was defined for name: separator

       

      While using RichFaces 3.3.3 this only happened no a4j tags and there were some obvious errors on tomcat startup such as a few classes requiring a legacy facelet and not starting up, namely the a4j classes. I switched over to RichFaces 4 and now I get the same error on both rich: and a4j: tags and no obvious remarks on tomcat startup.

       

      My web.xml is attached for convenience but I don't think there's anything wrong there. The only difference between the RichFaces 3 and 4 web.xml I was using is the absence of the org.ajax4jsf filter now on version 4.

       

      This is the list of JARs that I've included in the project (and this is where I suspect the issue resides):

       

      batik-aw-util-1.6-1

      batik-ext-1.6-1

      batik-gui-util-1.6-1

      batik-util-1.6-1

      commons-beanutils-1.7.0

      commons-codec-1.3

      commons-collections-3.2.1

      commons-digester-1.8

      commons-discovery-0.4

      commons-el-1.0

      commons-fileupload-1.2.1

      commons-io-1.3.2

      commons-lang-2.4

      commons-logging-1.1.1

      commons-validator-1.3.1

      cssparser-0.9.5

      ehcache-1.6.0

      guava-r05

      jhighlight-1.0

      jsf-api

      jsf-impl

      jstl-1.2

      oro-2.0.8

      richfaces-components-api-4.0.0.201001110-M4

      richfaces-components-ui-4.0.0.201001110-M4

      richfaces-core-api-4.0.0.201001110-M4

      richfaces-core-impl-4.0.0.201001110-M4

      sac-1.3

      tomahawk20-1.1.10

      wsdl4j-1.6.1

      xml-apis-1.0.b2

      xmlParserAPIs-2.0.2

       

      Can anyone help me out here?

      Am I missing something obvious? :|

       

      Thanks in advance