Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
11.0
-
None
-
Windows 10 64-Bit OpenJDK 11.0.2 (also tested with same results using Oracle JDK 8).
Description
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:
cvc-elt.1.a: Cannot find the declaration of element 'web-app'
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:
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>
Attachments
Issue Links
- duplicates
-
NETBEANS-2172 web.xml issue creating a webapp with java server faces
- Closed