1 Reply Latest reply on Jan 26, 2007 11:50 AM by newto23

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

    newto23

      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-name>TestPortlet</portlet-name>
      <portlet-class>com.sun.faces.portlet.FacesPortlet</portlet-class>
      ....


      Please let me know how to resolve this issue.

      Thanks.