add jsf project facet in eclipse/ why need it?
- by user384706
Hi,
I started on JSF2.0.
I followed a tutorial with no problem and all worked fine! I used Eclipse Helios.
But I noticed something I can not understand.
The tutorial said to add Project Facet for JSF 2.
I did no such thing and all worked ok. So to follow tutorial exactly I did:
Right-click on Project -Properties-
Project Facets
And JavaServer Faces check-box was not ticked. I assume this is what the tutorial means by Project Facet. I clicked on it and a
Further Configuration Needed
link appeared. I followed the link to a JSF capabilities (Modify Faceted Project) dialog, I selected as User library, my library of JSF(which is MyFaces) but I got the error message:
Found multiple versions of the
required class
javax.faces.FactoryFinder.
What is this error? Can't I add project facet after creating my project?
And what do I need the project facet for?
My (trivial) code indicates that JSF works ok, so what is the project Facet useful for?
Thanks!