java - TomEE pluME with JSF 2.2 ConfigurationException -
when start tomee deploy project. errors.
i using jsf 2.2, apache-tomee-7.0.0-m3-plume, , primefaces latest version.
i searched didn't find solution.
tomee errors
com.sun.faces.config.configurationexception: **factory 'javax.faces.lifecycle.clientwindowfactory' not configured properly.** @ com.sun.faces.config.processor.factoryconfigprocessor.verifyfactoriesexist(factoryconfigprocessor.java:330) @ com.sun.faces.config.processor.factoryconfigprocessor.process(factoryconfigprocessor.java:236) @ com.sun.faces.config.configmanager.initialize(configmanager.java:439) @ com.sun.faces.config.configurelistener.contextinitialized(configurelistener.java:227) @ org.apache.catalina.core.standardcontext.listenerstart(standardcontext.java:4812) @ org.apache.catalina.core.standardcontext.startinternal(standardcontext.java:5255) @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:147) @ org.apache.catalina.core.containerbase$startchild.call(containerbase.java:1408) @ org.apache.catalina.core.containerbase$startchild.call(containerbase.java:1398) @ java.util.concurrent.futuretask.run(unknown source) @ java.util.concurrent.threadpoolexecutor.runworker(unknown source) @ java.util.concurrent.threadpoolexecutor$worker.run(unknown source) @ java.lang.thread.run(unknown source) caused by: javax.faces.facesexception: com.sun.faces.lifecycle.clientwindowfactoryimpl @ javax.faces.factoryfinderinstance.getimplgivenpreviousimpl(factoryfinderinstance.java:407) @ javax.faces.factoryfinderinstance.getimplementationinstance(factoryfinderinstance.java:251) @ javax.faces.factoryfinderinstance.getfactory(factoryfinderinstance.java:543) @ javax.faces.factoryfinder.getfactory(factoryfinder.java:283) @ com.sun.faces.config.processor.factoryconfigprocessor.verifyfactoriesexist(factoryconfigprocessor.java:328) ... 12 more caused by: java.lang.nullpointerexception @ org.apache.webbeans.jsf.owbapplicationfactory.getapplication(owbapplicationfactory.java:43) @ com.sun.faces.application.injectionapplicationfactory.getapplication(injectionapplicationfactory.java:93) @ com.sun.faces.config.initfacescontext.getapplication(initfacescontext.java:142) @ com.sun.faces.lifecycle.clientwindowfactoryimpl.<init>(clientwindowfactoryimpl.java:62) @ sun.reflect.nativeconstructoraccessorimpl.newinstance0(native method) @ sun.reflect.nativeconstructoraccessorimpl.newinstance(unknown source) @ sun.reflect.delegatingconstructoraccessorimpl.newinstance(unknown source)
web.xml
<?xml version="1.0" encoding="utf-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xsi:schemalocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" id="webapp_id" version="3.1"> <display-name>fileupload</display-name> <welcome-file-list> <welcome-file>index.xhtml</welcome-file> </welcome-file-list> <context-param> <description>state saving method: 'client' or 'server' (=default). see jsf specification 2.5.2</description> <param-name>javax.faces.state_saving_method</param-name> <param-value>client</param-value> </context-param> <context-param> <param-name>javax.servlet.jsp.jstl.fmt.localizationcontext</param-name> <param-value>resources.application</param-value> </context-param> <filter> <filter-name>primefaces fileupload filter</filter-name> <filter-class>org.primefaces.webapp.filter.fileuploadfilter</filter-class> </filter> <filter-mapping> <filter-name>primefaces fileupload filter</filter-name> <servlet-name>faces servlet</servlet-name> </filter-mapping> <servlet> <servlet-name>faces servlet</servlet-name> <servlet-class>javax.faces.webapp.facesservlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>faces servlet</servlet-name> <url-pattern>*.jsf</url-pattern> </servlet-mapping> <listener> <listener-class>com.sun.faces.config.configurelistener</listener-class> </listener> </web-app>
Comments
Post a Comment