4 Replies Latest reply on Jun 12, 2008 12:27 PM by Sergey Smirnov

    Updating Richfaces for new version and... : java.lang.NoClas

    Robson Newbie

      Hello!

      I update my richfaces librarys for a new version, and now, always that i will be start my tomcat (5.5), him throw the following exception:

      java.lang.NoClassDefFoundError: javax/faces/component/ActionSource2
       at java.lang.ClassLoader.defineClass1(Native Method)
       at java.lang.ClassLoader.defineClass(Unknown Source)
       at java.security.SecureClassLoader.defineClass(Unknown Source)
       at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1812)
       at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:866)
       at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1319)
       at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
       at java.lang.ClassLoader.loadClassInternal(Unknown Source)
       at java.lang.Class.getDeclaredConstructors0(Native Method)
       at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
       at java.lang.Class.getConstructor0(Unknown Source)
       at java.lang.Class.newInstance0(Unknown Source)
       at java.lang.Class.newInstance(Unknown Source)
       at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:896)
       at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:945)
       at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:426)
       at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:348)
       at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
       at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
       at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
       at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
       at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
       at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
       at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
       at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
       at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
       at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
       at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
       at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
       at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
       at org.apache.catalina.core.StandardService.start(StandardService.java:450)
       at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
       at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
       at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)


      Ideas? Thanks..