Adding and Removing JSF Library References from a Project


JSF Library References for a project are managed as Java Build Path Libraries and J2EE Module Dependencies.

Adding a JSF Library Reference

Project -> Properties -> Java Build Path

Project -> Properties -> Java Build Path

Click "Add Library..." button.

Add Library

Select "JSF Libraries" and click "Next >" button.

Add Library

Select desired JSF Library and click "Finish" button.

Removing a JSF Library Reference

Project -> Properties -> Java Build Path

Project -> Properties -> Java Build Path

Select desired JSF Library and click "Remove" button.

Selecting JSF Library Deployment Options

To control which JSF Libraries are deployed to the web application and which are not, use the "J2EE Module Dependencies" functionality.

Project -> Properties -> J2EE Module Dependencies

Project -> Properties -> J2EE Module Dependencies

Select/deselect JSF Libraries as desired (selected means deploy, deselected means do not deploy).

Related concepts


Related reference

JSF Libraries

Related tasks

Create and Update JSF Libraries