9 Replies Latest reply on Dec 17, 2010 8:29 AM by Mikael Brodd

    Add JSF Capabilities in Eclipse says web.xml is malformed

    Mikael Brodd Newbie



      Trying to add JSF capabilities as described in the FAQ in Eclipse. The wizard says that


      Web descriptor file is corrupted : Element type "dispatcher" must be declared


      This corresponds to the following in web.xml:


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


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


      What to do?