4 Replies Latest reply on Mar 7, 2006 2:43 PM by Ben Pontius

    2.4 web application deployment descriptor validation problem

    Debarshi Kar Newbie

      I am having the same problem. My application runs perfectly fine, I only get these errors when using Jboss IDE web.xml editor.

      These are some sample errors:

      cvc-id.3: A field of identity constraint 'web-app-servlet-name-uniqueness' matched element 'web-app', but this element does not have a simple type.
      
      src-resolve: Cannot resolve the name 'j2ee:descriptionType' to a(n) 'type definition' component.
      


      These are the declarations at the top of web.xml.
      <?xml version="1.0" encoding="UTF-8"?>
      <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
      


      Can anyone help? It's a bit annoying seeing all those errors.

      Cheers!