jsf - Unable to obtain com.sun.faces.flow.FlowDiscoveryCDIExtension. Flows described with javax.faces.flow.builder.FlowDefinition are unavailable -
21:39:39,453 severe [javax.enterprise.resource.webcontainer.jsf.application] (se rverservice thread pool -- 103) unable obtain com.sun.faces.flow.flowdiscover ycdiextension cdi implementation. flows described javax.faces.flow.bu ilder.flowdefinition unavailable.
i'm using jboss eap 6.1, cdi, hibernate, , jsf 2.2. thought might caused jsf 2.2, changed face-config.xml
2.0, error still exist.
i followed guide: https://developer.jboss.org/thread/203257
this module looks like: module.xml looks like:
<dependencies> <module name="javax.faces.api"/> <module name="javaee.api"/> <module name="javax.servlet.jstl.api"/> <module name="org.apache.xerces" services="import"/> <module name="org.apache.xalan" services="import"/> </dependencies> <resources> <resource-root path="jsf-impl-2.2.7.jar"/> <!-- insert resources here --> </resources> <dependencies> <module name="javax.el.api" export="true"/> <module name="javax.servlet.api" export="true"/> <module name="javax.servlet.jsp.api" export="true"/> <module name="javax.servlet.jstl.api" export="true"/> <module name="javax.validation.api" export="true"/> <module name="com.sun.jsf-impl"/> </dependencies> <resources> <resource-root path="jsf-api-2.2.7.jar"/> <!-- insert resources here --> </resources>
how did switch jsf 2.2?
if included jar files in war/ear file 1 of these loading , trying load cdi extension jar containing class not available. try removing jsf jars deployment archive , see if goes away.
if added server module may have missed jar file or dependent module part of jsf module definition. remove changed or added module , see if goes away.
Comments
Post a Comment