Giuseppe Tino created NETBEANS-2172:
---------------------------------------

             Summary: web.xml issue creating a webapp with java server faces
                 Key: NETBEANS-2172
                 URL: https://issues.apache.org/jira/browse/NETBEANS-2172
             Project: NetBeans
          Issue Type: Bug
          Components: javaee - Web Project
    Affects Versions: 11.0
         Environment: Product Version: Apache NetBeans IDE Dev (Build 
incubator-netbeans-release-384-on-20190213)
Java: 12; OpenJDK 64-Bit Server VM 12+32
Runtime: OpenJDK Runtime Environment 12+32
System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
            Reporter: Giuseppe Tino


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'. "



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to