[ https://issues.apache.org/jira/browse/NETBEANS-2398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ryan updated NETBEANS-2398: --------------------------- Attachment: Screenshot.png > 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 > Priority: Major > Attachments: Screenshot.png > > > 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-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists