1. Open New JSF Project wizard.
2. Select JSF 2 & Servlet Version 3.0. Press Finish.
3. Open the created web.xml. It has <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" ...>
But it should have
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"...>
shouldn't it?
And btw, could we use Servetl 3.0 as default value for JSF 2.0 projects in our wizard? Not it's 2.5.
- is duplicated by
-
JBIDE-13699 Confusing web.xml declaration in generated CDI Web Project
- Closed
- relates to
-
JBDS-2646 Cannot deploy created Seam2.2 project to EAP 5.2
- Closed