Easy start with JBoss RichFaces

Here is a super easy way to start with RichFaces. Download the template below, it comes with the latest version of JSF and RichFaces, completely configured and ready to use.

I’m assuming you already have working JBoss Developer Studio or JBoss Tools with Tomcat server.

  1. Download richfaces-template.zip and unzip
  2. In JBoss Developer Studio or JBoss Tools, select File/Import/Other/JSF Project
  3. Browse to web.xml file in the template, select OK
  4. Click Next
  5. Accept all default values.
  6. Click Finish
  7. Run the application, http://localhost:8080/richfaces-template . You should see a start page with a message

You are ready to use RichFaces!

If there is a new version of JSF or RichFaces, just replace the following files with new files:

JSF
jsf-api.jar
jsf-impl.jar

RichFaces
richfaces-api-3.2.x.jar
richfaces-impl-3.2.x.jar
richfaces-ui=3.2.x.jar

4 thoughts on “Easy start with JBoss RichFaces

  1. Hello,

    It is working but, this error occurs;

    ______________________________________________________________

    SEVERE: Error configuring application listener of class com.sun.faces.config.ConfigureListener
    java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3786)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at org.apache.catalina.core.StandardService.start(StandardService.java:516)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    Jul 10, 2009 7:27:43 PM org.apache.catalina.core.StandardContext listenerStart

    ______________________________________________________________

    Thank you.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s