Tuesday

Critical error during deployment: : com.sun.faces.config.ConfigurationException: Factory 'javax.faces.render.RenderKitFactory' was not configured properly

BUG:
I was trying to deploy a JSF (RichFaces) application in JBOSS 7.1.0 and I got following error:

Critical error during deployment: : com.sun.faces.config.ConfigurationException: Factory 'javax.faces.render.RenderKitFactory' was not configured properly


FIX:
Add following parameters to the web.xml:

<listener>
    <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
</listener>

No comments:

Post a Comment