You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Pete Whelpton (JIRA)" <ji...@apache.org> on 2019/05/27 16:44:00 UTC
[jira] [Commented] (NETBEANS-2398) Netbeans 11 + web.xml = Cannot
find declaration of element 'web-app'
[ https://issues.apache.org/jira/browse/NETBEANS-2398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16849076#comment-16849076 ]
Pete Whelpton commented on NETBEANS-2398:
-----------------------------------------
Should be / hopefully is fixed by: [https://github.com/apache/netbeans/pull/1266]
> 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-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