1 Reply Latest reply on Sep 19, 2002 9:29 PM by Eric Devlin

    parsing web.xml error when deploying

    Dwight Smith Newbie

      when trying to deploy an ejb/web application I get an
      "org.xml.sax.SAXParseException: Element type "web-app" is not declared." error.

      Am I missing a tag definition file or is this a deprecated tag? The web.xml file I am using is pretty straight forward and is a modified version of the one in the "interest" example:

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

      <web-app>

      <welcome-file-list>
      <welcome-file>PartySearchMain.html</welcome-file>
      </welcome-file-list>

      <!-- ### EJB References (java:comp/env/ejb) -->
      <ejb-ref>
      <ejb-ref-name>ejb/Parties</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      org.jboss.docs.parties.PartiesHome
      org.jboss.docs.parties.Parties
      </ejb-ref>

      </web-app>

      Any pointers would be appreciated. Thanks.

      Dwight