Ajax4JSF doesn't work - Resource not available

hello,

i've a problem - i got the following exception when i tried to start my webproject:

SCHWER: Exception starting filter ajax4jsf

java.lang.ClassNotFoundException: org.ajax4jsf.Filter

at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1359)

at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1205)

at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:207)

at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:302)

at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:78)

at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3635)

at org.apache.catalina.core.StandardContext.start(StandardContext.java:4222)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)

at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)

at org.apache.catalina.core.StandardService.start(StandardService.java:448)

at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)

at org.apache.catalina.startup.Catalina.start(Catalina.java:552)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:615)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)

25.04.2007 13:49:51 org.apache.catalina.core.StandardContext start

SCHWER: Error filterStart

My web.xml looks like this:

<?xml version="1.0" encoding="UTF-8"?>

<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">

<display-name>jsfStart</display-name>

<context-param>

<param-name>javax.faces.STATE_SAVING_METHOD</param-name>

<param-value>server</param-value>

</context-param>

<context-param>

<param-name>com.exadel.vcp.trialKey</param-name>

<param-value>EiZqgsajvakmwy8rS1LIbw__</param-value>

</context-param>

<context-param>

<param-name>org.ajax4jsf.SKIN</param-name>

<param-value>classic</param-value>

</context-param>

<filter>

<display-name>Ajax4jsf Filter</display-name>

<filter-name>ajax4jsf</filter-name>

<filter-class>org.ajax4jsf.Filter</filter-class>

</filter>

<filter-mapping>

<filter-name>ajax4jsf</filter-name>

<servlet-name>Faces Servlet</servlet-name>

<dispatcher>REQUEST</dispatcher>

<dispatcher>FORWARD</dispatcher>

<dispatcher>INCLUDE</dispatcher>

</filter-mapping>

<listener>

<listener-class>com.sun.faces.config.ConfigureListener</listener-class>

</listener>

<servlet>

<servlet-name>Faces Servlet</servlet-name>

<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>

<load-on-startup>1</load-on-startup>

</servlet>

<servlet-mapping>

<servlet-name>Faces Servlet</servlet-name>

<url-pattern>*.jsf</url-pattern>

</servlet-mapping>

</web-app>

i've included into my /lib directory the following jar files:

ajax4jsf-1.1.0.jar

commons-beanutils.jar

commons-collections.jar

commons-digester.jar

jsf-api.jar

jsf-impl.jar

jsf-impl-messages.jar

jstl.jar

oscache-2.3.jar

richfaces-3.0.0.jar

standard.jar

vcp-faces.jar

vcp-skins.jar

--

pls help me thx

[4610 byte] By [Triplexhfda] at [2007-11-27 2:19:32]
# 1
This mean you still have no ajax4jsf-1.1.0.jar in the classpath. Double check that the application is deployed to the server successfully and you have not server cache problem
Sergey.Smirnova at 2007-7-12 2:20:08 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

i've included the ajax4jsf1..jar file - but this error now occurs:/

27.04.2007 18:21:38 org.apache.catalina.core.StandardContext start

SCHWER: Error listenerStart

27.04.2007 18:21:38 org.apache.catalina.core.StandardContext start

SCHWER: Context [/richfacestest] startup failed due to previous errors

27.04.2007 18:21:38 org.apache.catalina.core.StandardContext listenerStart

SCHWER: Error configuring application listener of class com.sun.faces.config.ConfigureListener

java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener

any ideas?

Triplexhfda at 2007-7-12 2:20:08 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
Why you use vcp and richfaces is the same time?
Sergey.Smirnova at 2007-7-12 2:20:08 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
i don't knowin the livedemo there is a tutorial and they use vcp for the panels and rich: for the suggestionbox:)lg
Triplexhfda at 2007-7-12 2:20:09 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5
You misunderstood something. vcp = RichFaces 2.0So, you have two versions of RichFaces in your classpath at the same time. It should not work.
Sergey.Smirnova at 2007-7-12 2:20:09 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...