On creating new JSF Richfaces application in Netbeans, the error shown above comes because of not adding JSF libraries.
JSF library RichFaces not setup properly: No complete Richfaces library found. See list of Mandatory JARs.
Now to import the libraries,
- Click on more button.
- It will show all the jars required for RichFaces as shown. Click on Create Library now.
- You can download the jars here.Valid RichFaces Library:
RichFaces library has to contain:
richfaces-components-api-4.x.O.Final.jar
richfaces-components-ui-4.x.O.Final.jar
richfaces-core-api-4.x.O.Finaljar
richfaces-core-impl-4.x.O.Final jarRichFaces library should contain:
guava jar (Google Guava)
sac.jar (Simple API for CSS)
cssparser.jar (CSS Parser) -
After Downloading the jars create the library name.
-
Now import all the jars as shown.
- After Importing the error would have been gone. And you can proceed for creating the Project.
No comments:
Post a Comment