I'm trying to upgrade from richfaces 3.0.1 to 3.1.2 but getting the error below:
SEVERE: Exception sending context initialized event to listener instance of class org.apache.myfaces.webapp.StartupServletContextListener
java.lang.NoClassDefFoundError: org/ajax4jsf/framework/ajax/AjaxComponent
I'm using myfaces 1.1.5, tomahawk 1.1.6, tomcat 6.0.14. Has the AjaxComponent class moved somewhere else? I think its in org/ajax4jsf/componet/AjaxComponent now. It doesn't seem like myfaces is looking there.
My web.xml configuration is the same as in the installation notes:
<context-param>
<param-name>org.richfaces.SKIN</param-name>
<param-value>blueSky</param-value>
</context-param>
<context-param>
<param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
<param-value>com.sun.facelets.FaceletViewHandler</param-value>
</context-param>
<context-param>
<param-name>org.ajax4jsf.COMPRESS_SCRIPT</param-name>
<param-value>false</param-value>
</context-param>
<filter-name>ajax4jsf</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
<filter-mapping>
<filter-name>ajax4jsf</filter-name>
<servlet-name>Faces Servlet</servlet-name>
REQUEST
FORWARD
INCLUDE
</filter-mapping>
Any help would be appreciated since I would like to upgrade and use the new richfaces components.
-Ky
The old ajax4jsf jar is still in the classpath. Remove it.