Richfaces not working ! help needed

Version 2

    Hi,

     

    I am using the Richfaces latest version.

     

    I have updated the pom file correctly and after the mvn clean install i can see the all the necessary files needed for the richfaces as specified in the developers document.

     

    I am using jsf 2.1 .

     

    But After loading the project and when i run it i can't see the styleclass getting applied and no javascript function working . I tried the example in the showcase for the  rich:collapsiblePanel but the view is without the css nor collapsible capability. I have attached the screenshot .Capture.JPG

     

    Should i add explicitily anything to the web.xml ? Else what might be the problem ?

     

    If anything more needed Pls ask me I will update the same