1 Reply Latest reply on Jun 9, 2008 4:19 AM by ilya_shaikovsky

    installing richface on jbuilder 2005

    toure32

      i've install richface for my face projet on jbuild 2005.
      when i run the projet i got this error in tomcat log

      8 juin 2008 16:05:41 com.sun.faces.util.Util createInstance
      
      GRAVE: Can't instantiate class: 'org.ajax4jsf.application.AjaxStateManager'.:org.ajax4jsf.application.AjaxStateManager:exception:null
      
      8 juin 2008 16:05:49 org.apache.catalina.core.StandardContext start
      
      GRAVE: Error listenerStart
      

      I don't know if i've made something wrong.
      here ici my web.xml so you could help me
      <?xml version="1.0" encoding="UTF-8"?>
      <web-app 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" version="2.4">
       <display-name>WebModule1</display-name>
       <context-param>
       <param-name>org.richfaces.SKIN</param-name>
       <param-value>blueSky</param-value>
       </context-param>
       <filter>
       <display-name>RichFaces Filter</display-name>
       <filter-name>richfaces</filter-name>
       <filter-class>org.ajax4jsf.Filter</filter-class>
       </filter>
       <filter-mapping>
       <filter-name>richfaces</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>
       <servlet>
       <description>Added by JBuilder to compile JSPs with debug info</description>
       <servlet-name>debugjsp</servlet-name>
       <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
       <init-param>
       <param-name>classdebuginfo</param-name>
       <param-value>true</param-value>
       </init-param>
       <load-on-startup>3</load-on-startup>
       </servlet>
       <servlet-mapping>
       <servlet-name>debugjsp</servlet-name>
       <url-pattern>*.jsp</url-pattern>
       </servlet-mapping>
      </web-app>
      

      note i'm using tomcat 5.0 and jdk 1.5
      best regards.