首页 > 代码库 > RESIN 报listener-class ‘com.sun.faces.application.W

RESIN 报listener-class ‘com.sun.faces.application.W

Deploying JSF portlets #

Some JSF portlets (like: sample-icefaces-ipc-ajax-push-portlet) can not be deployed on Resin due to following exception:

com.caucho.config.ConfigException: listener-class ‘com.sun.faces.application.WebappLifecycleListener‘ does not implement any web-app listener interface.

This happens since Resin comes with its own JSF implementation: (resin-4.0.26/lib/jsf-mojarra-2.1.3.jar) that is loaded first.

To fix this, just remove the jsf-impl.jar from the deployed portlet or from the portlet war.