Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.7.0
-
None
-
Tomcat7 SIWPas Simple Web Profile Application Server, powered by Apache Tomcat http://code.google.com/p/siwpas/
Description
I tried deploy an JSF2 application, and this was the result:
Caused by: org.apache.openejb.OpenEJBException:
Cannot unmarshall the faces configuration file:
jar:file:/C:/SIwpas-1.0.0-CR4/SIwpas-1.0.0-CR4/webapps/Actividades/WEB-INF/lib/primefaces-2.2.M1.jar!/META-INF/faces-config.xml:
unexpected element (uri:"http://java.sun.com/xml/ns/javaee", local:"partial-view-context-factory").
Expected elements are <
faces-context-factory>,
<
tag-handler-delegate-factory>,
<
visit-context-factory>,
<
external-context-factory>,
<
factory-extension>,}
<
exception-handler-factory>,
<
application-factory>,
<
render-kit-factory>,
<
lifecycle-factory>,
<
view-declaration-language-factory>
at org.apache.openejb.config.ReadDescriptors.readFacesConfig(ReadDescriptors.java:563)
the faces-config starts:
<?xml version="1.0" encoding="utf-8"?>
<faces-config version="2.0" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd">
<lifecycle>
<phase-listener>org.primefaces.application.DynamicContentStreamer</phase-listener>
</lifecycle>
<factory>
<partial-view-context-factory>org.primefaces.context.PrimePartialViewContextFactory</partial-view-context-factory>
</factory>
<component>
<component-type>org.primefaces.component.AccordionPanel</component-type>
<component-class>org.primefaces.component.accordionpanel.AccordionPanel</component-class>
</component>
...
That file is according http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd schema.
Could you tell me wath is my mistake?