If you have the richfaces JARS in web-inf/lib of your WAR you shouldnt need to put the richfaces JARS in server/default/lib. With JBoss 4.2.2 (which I assume is what you are using), the WAR uses its own classloader and your richfaces classes should be found as long as you are referring to the classes in the context of the webapp. I assume you dont refer programmatically but rather use the tags in your views.
You need to include all 3 richfaces jars.
I do all your suggestion but it dosen't work already. please give me more help, thank you
richfaces-api-3.2.1.GA.jar in .ear/lib
richfaces-impl-3.2.1.GA.jar and richfaces-ui-3.2.1.GA.jar in .war/WEB-LIB/lib.
I have get a exception NoClassDefFoundError for org.richfaces.component.UITree when server startup,please give me some help.