Monday, October 28, 2013

Eclipse error: Required class javax.faces.FactoryFinder does not exist in selected libraries.

Error
When adding user Faces implementation to a project in Eclipse you can get the following error:

Required class javax.faces.FactoryFinder does not exist in selected libraries.


Solution for J2EE 6.0
Some people recommend to add jsf-api jar but it doesn't solve the problem for Java EE 6.0. Actually you have to add j2ee.jar from your appserver directory to Eclipse library. Here's the screenshot.