java.lang.ClassCastException: com.sun.facelets.component.RepeatRenderer

Hi,

I have a JSF application using JSF 1.1_02 version. I am trying to deploy it as a war (as per JSR-168 spec) in the JBoss portal server 2.4.1

I am getting the following error while deploying,

2007-01-11 11:58:55,621 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/adjahjportlet]] Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener

javax.faces.FacesException: java.lang.ClassCastException: com.sun.facelets.component.RepeatRenderer

I have the following jars included in the lib folder,

commons-beanutils.jar

commons-collections.jar

commons-digester.jar

commons-logging.jar

jsf-api.jar

jsf-impl.jar

jstl.jar

jsf-portlet.jar

My portlet.xml file is,

<portlet>

<portlet-name>TestPortlet</portlet-name>

<portlet-class>com.sun.faces.portlet.FacesPortlet</portlet-class>

<init-param>

<name>default-view</name>

<value>/WEB-INF/index.jsp</value>

</init-param>

<supports>

<mime-type>text/html</mime-type>

<portlet-mode>VIEW</portlet-mode>

</supports>

<portlet-info>

<title>JSF Portlet</title>

</portlet-info>

</portlet>

Please let me know how to resolve this issue.

Thanks.

[1482 byte] By [NewToJSFa] at [2007-11-26 14:51:30]
# 1
I have resolved the issue.The solution was to not to include the jsf-api.jar in the application lib folder, as it is loaded globally somewhere.
NewToJSFa at 2007-7-8 8:39:42 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...