Details
Description
Steps to reproduce:
- Create a new "Maven / Web Application" project:
- "Project Name": firstcup
- "Server": GlassFish Server 5.0
- "Java EE Version": Java EE 7 Web
- "Context Path": /firstcup
- After the project is created, invoke pop-up menu on it's root node and select Properties.
- Select the "Frameworks" category in the "Project Properties" manager.
- Push the Add... button and choose "JavaServer Faces" framework.
- In "Configuration" tab, set "JSF Servlet URL Pattern" to: /firstcupWeb/ and push *OK.
- Delete generated web pages.
Expected result:
- The project is created and no errors are displayed
Actual result:
- In the project panel the file Web pages > WEB-INF > web.xml is marked with a red x. On mouse hover the following message is shown "cvc-elt.1.a: Cannot find the declaration of element 'web-app'. "
Attachments
Issue Links
- is duplicated by
-
NETBEANS-2398 Netbeans 11 + web.xml = Cannot find declaration of element 'web-app'
- Closed
- links to