You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Ryan (JIRA)" <ji...@apache.org> on 2019/04/11 19:21:00 UTC

[jira] [Created] (NETBEANS-2398) Netbeans 11 + web.xml = Cannot find declaration of element 'web-app'

Ryan created NETBEANS-2398:
------------------------------

             Summary: Netbeans 11 + web.xml = Cannot find declaration of element 'web-app'
                 Key: NETBEANS-2398
                 URL: https://issues.apache.org/jira/browse/NETBEANS-2398
             Project: NetBeans
          Issue Type: Bug
          Components: javaee - Web Project
    Affects Versions: 11.0
         Environment: Windows 10 64-Bit OpenJDK 11.0.2 (also tested with same results using Oracle JDK 8).
            Reporter: Ryan


I'm taking Netbeans 11 for a spin and now see my project web.xml file has red x in bottom corner of Projects window icon.  Everything seems to work fine despite the validation error.  If I open project in Netbeans 8.2 no issue.  The hover (tooltip) message is: 
{quote} 
 cvc-elt.1.a: Cannot find the declaration of element 'web-app'
  
{quote}
If I right click on web.xml file in Projects window and click Validate XML the error is displayed in the Output window along with:
{quote}schema_reference.4: Failed to read schema document 'nbres:/org/netbeans/modules/j2ee/ddloaders/catalog/resources/web-app_3_1.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>
{quote}
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists