1 Reply Latest reply on Feb 9, 2009 3:15 PM by Nick Belaevski

    install richfaces with jdeveloper

    Tony Fabrizzio Newbie

      hello.

      Iam trying to use richfaces with my jsf project.

      iam using developer 10.1.3.4, SOA SUite (Oracle application server) and jsf 1.1, i think. (i didnt add any extra library for jsf in jdeveloper).

      i went through this steps to install richfaces:

      1. i downloaded richfaces from here http://www.jboss.org/jbossrichfaces/downloads/ .jboss-richfaces-3.0.1-bin.zip
      version ( i also tried different versions).
      2. i uniziped and copied jar files in to web-inf/lib
      3. right cliked on project -> project properties ->libraries ->add jar/directory and added all 3 jar files.
      4. changed web.xml file
      5. added
      <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
      <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
      on jsp
      6. ran the project.


      But i got an error:

      oracle.classloader.util.AnnotatedNoClassDefFoundError:
      Missing class: org.apache.commons.collections.map.LRUMap
      Dependent class: org.ajax4jsf.cache.LRUMapCache Loader: current-workspace-app.web.Test-rf3-webapp:0.0.0 Code-Source: /D:/product/jdevstudio10134/jdev/mywork/Test/rf3/public_html/WEB-INF/lib/richfaces-impl-3.1.0.jar Configuration: WEB-INF/lib/ directory in D:\product\jdevstudio10134\jdev\mywork\Test\rf3\public_html\WEB-INF\libThe missing class is not available from any code-source or loader in the system.
      at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2264)
      at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1462)
      at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:167)
      at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
      at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1674)
      at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635)
      at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
      at org.ajax4jsf.cache.LRUMapCacheFactory.createCache(LRUMapCacheFactory.java:49)
      at org.ajax4jsf.resource.InternetResourceService.init(InternetResourceService.java:110)
      at org.ajax4jsf.webapp.BaseFilter.init(BaseFilter.java:148)
      at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.http.HttpApplication.getFilterConfig(HttpApplication.java:7592)
      at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:515)
      at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
      at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
      at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
      at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
      at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
      at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
      at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
      at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
      at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
      at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
      at java.lang.Thread.run(Thread.java:595)

      What i did wrong? Which version of richfaces do i need for jdeveloper 10.1.3.4 and jsf 1.1?