2 Replies Latest reply on Jun 27, 2008 5:58 AM by Ilya Shaikovsky

    Resources framework is not initialised,check web.xml for Fil

    murugesan govindan Newbie

      Hi,

      I am implementing Richfaces components in my demo portlet page but I am getting the below error.

      I have added some .jars for richfaces and added the code like below:

      In .jsp page:
      <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
      <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
      <rich:toolBar>
      <h:outputText value="RichFaces Demonstration"/>
      </rich:toolBar>

      In Web.xml:
      <context-param>
      <param-name>org.richfaces.SKIN</param-name>
      <param-value>deepMarine</param-value>
      </context-param>

      <display-name>RichFaces Filter</display-name>
      <filter-name>richfaces</filter-name>
      <filter-class>org.ajax4jsf.Filter</filter-class>

      <filter-mapping>
      <filter-name>richfaces</filter-name>
      <servlet-name>Faces Servlet</servlet-name>
      REQUEST
      FORWARD
      INCLUDE
      </filter-mapping>

      Error:
      3/8/08 12:17:57:522 AST 0000006a SystemErr R javax.faces.FacesException: Resources framework is not initialised, check web.xml for Filter configurationat org.ajax4jsf.resource.ResourceBuilderImpl.getWebXml(ResourceBuilderImpl.java:121)
      at org.ajax4jsf.resource.ResourceBuilderImpl.getUri(ResourceBuilderImpl.java:310)

      Pls advise me,

      Regards
      Murugesan