I started work on JSF2.0. I followed the tutorial without any problems and everything worked perfectly! I used Eclipse Helios. But I noticed something that I do not understand. The tutorial says to add Project Facet for JSF 2. I did not do this, and everything worked fine. Therefore, to follow the instructions, I did this:
Right click on Project -> Properties -> Fac Facets
The JavaServer Faces checkbox was not checked. I guess this is what the tutorial means Project Facet. I clicked on him and
Additional configuration
Link appeared
. I followed the link to the JSF dialog (Modify Faceted Project), which I selected as a user library, my JSF library (this is MyFaces), but I received an error message:
Several versions of the required javax.faces.FactoryFinder class were found.
What is this mistake? Can I add a project facet after creating my project? And why is a project facet needed? My (trivial) code indicates that JSF is working fine, so why do I need a Facet project?
source share