1 Reply Latest reply on Apr 16, 2009 5:42 AM by Ilya Shaikovsky

    problem in using 3.3.0 GA

    ramy Hassan Novice

      I'm trying to deploy a simple webapp with RichFaces support 3.3.0GA. I'm using MyEclipse to make a JSF 1.2 Project. I added the 3 newest RichFaces Jars to my library and dropped in the configuration code into my web.xml. When I deploy the .war file to Tomcat 6 I got this:


      log4j:WARN Please initialize the log4j system properly.
      javax.faces.FacesException: org.ajax4jsf.renderkit.ChameleonRenderKitFactory
      at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:556)
      at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:448)
      at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:249)
      at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1096)
      at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:543)
      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:436)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
      at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1116)
      at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1214)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
      at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
      at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
      at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      at java.lang.reflect.Constructor.newInstance(Unknown Source)
      at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:549)
      ... 16 more
      Caused by: java.lang.NoClassDefFoundError: org/apache/commons/beanutils/MethodUtils
      at org.apache.commons.digester.CallMethodRule.end(CallMethodRule.java:626)
      at org.apache.commons.digester.Rule.end(Rule.java:253)
      at org.apache.commons.digester.Digester.endElement(Digester.java:1332)
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
      at org.apache.commons.digester.Digester.parse(Digester.java:1887)
      at org.ajax4jsf.resource.ResourceBuilderImpl.registerConfig(ResourceBuilderImpl.java:200)
      at org.ajax4jsf.resource.ResourceBuilderImpl.registerResources(ResourceBuilderImpl.java:144)
      at org.ajax4jsf.resource.ResourceBuilderImpl.init(ResourceBuilderImpl.java:215)
      at org.ajax4jsf.renderkit.ChameleonRenderKitFactory.(ChameleonRenderKitFactory.java:62)
      ... 21 more

      any one can Help me ?
      ASAP
      thanks,