1 Reply Latest reply on Feb 24, 2011 11:40 AM by D F

    Unable to fix 'but no tag was defined for name: form' error

    D F Newbie

      I'm new to richfaces development and am starting with a very basic app, I wanted to test some a4j functionality but am getting the following error when trying to view my page:


      javax.faces.view.facelets.TagException: /index.xhtml @14,16 <a4j:form> Tag Library supports namespace: http://richfaces.org/a4j, but no tag was defined for name: form


      Despite a day of messing around with web.xml configuration and adding/subtracting jars from my war I can't seem to figure out why I'm getting this error.  Can anyone help me understand what is going on?


      my web.xml looks like:


      <?xml version="1.0" encoding="UTF-8"?>

      <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"






          <!-- This is an optional parameter, but it makes troubleshooting errors

              much easier -->

          <!-- You should remove this context parameter before deploying to production! -->






















              <display-name>RichFaces Filter</display-name>







              <servlet-name>Faces Servlet</servlet-name>








          <!-- Activate the JSF 2.0 servlet -->


              <servlet-name>Faces Servlet</servlet-name>





          <!-- Tell the context which URLs to process with JSF -->


              <servlet-name>Faces Servlet</servlet-name>





          <!-- This section is optional. We are allowing index.jsf to handle the root

              URL (i.e., /). -->


              <!-- Add additional files here, if desired, for example: <welcome-file>index.html</welcome-file> -->