Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Can't select JSF Implementation Library when creating New Dynamic Web Project
Can't select JSF Implementation Library when creating New Dynamic Web Project [message #936877] Mon, 08 October 2012 08:38 Go to next message
Steve Provoyeur is currently offline Steve Provoyeur
Messages: 2
Registered: October 2012
Junior Member
I'm new to the forum. Had this under "Newcomers" and was advised to move it here.

I'm trying to create a simple JSF project using Indigo, JEE6, Java EE perspective and Tomcat7. The environment seems to be set up correctly in a general sense as I'm able to run other Dynamic Web Projects (non-JSF) succesfully.

Here are the steps:
1) I click File:New:Dynamic Web project
2) On the next screen I enter a project name, check defualt location, Apache Tomcat 7.0,Dynamic web module version 3.0 and JavaServer Faces v2.0 Project for the configuration and click Next
3) Click Next again
4) Check Generate web.xml deployment descriptor and click Next
5) The next screen is the JSF Capabilities screen. I have two options: JSF 2.0 (Apache Myfaces) and JSF 2.0 (Mojarra). Clicking either one results in "Required class javax.faces.FactoryFinder does not exist in selected libraries" being displayed at the top of the window just below "JSF Capabilities" and I am not allowed to proceed any further. I have tried every conceivable combination of Jar files in multiple directories. The FactoryFinder class is included in many Jars, I've tried several. Curently, in the Apache2/lib folder I have the jsf-api-2.1.10.jar and the jsf-impl-2.1.10.jar amongst others like the myfaces-api-2.1.3.jar. I've tried others. I've tried removing some in the event there was maybe a conflict. I've tried adding jars to current projects in their WEB-INF/lib folders but nothing I do gets around the error message. I'm a newbie and have spent literally days on this and at this point would like nothing more than for someone to say "you idiot, you didn't include this or you forgot to set that". Please feel free and thanks for any help.
Re: Can't select JSF Implementation Library when creating New Dynamic Web Project [message #938057 is a reply to message #936877] Tue, 09 October 2012 10:05 Go to previous message
Chemi is currently offline Chemi
Messages: 107
Registered: July 2009
Senior Member
In Juno (I know you are using Indigo) I added the library manually to
the workspace within a /libraries directory and worked fine later when
selected in the wzard.

For example:
D:\eclipse-jee-juno-SR1-win32-x86_64\workspace\libraries\JSF 2.1 (Apache
MyFaces 2.1.5)\myfaces-core-2.1.5-bin\

Hope this helps,

Chemi.

On 10/8/2012 2:38 PM, Steve Provoyeur wrote:
> I'm new to the forum. Had this under "Newcomers" and was advised to move
> it here.
>
> I'm trying to create a simple JSF project using Indigo, JEE6, Java EE
> perspective and Tomcat7. The environment seems to be set up correctly in
> a general sense as I'm able to run other Dynamic Web Projects (non-JSF)
> succesfully.
> Here are the steps:
> 1) I click File:New:Dynamic Web project
> 2) On the next screen I enter a project name, check defualt location,
> Apache Tomcat 7.0,Dynamic web module version 3.0 and JavaServer Faces
> v2.0 Project for the configuration and click Next
> 3) Click Next again
> 4) Check Generate web.xml deployment descriptor and click Next
> 5) The next screen is the JSF Capabilities screen. I have two options:
> JSF 2.0 (Apache Myfaces) and JSF 2.0 (Mojarra). Clicking either one
> results in "Required class javax.faces.FactoryFinder does not exist in
> selected libraries" being displayed at the top of the window just below
> "JSF Capabilities" and I am not allowed to proceed any further. I have
> tried every conceivable combination of Jar files in multiple
> directories. The FactoryFinder class is included in many Jars, I've
> tried several. Curently, in the Apache2/lib folder I have the
> jsf-api-2.1.10.jar and the jsf-impl-2.1.10.jar amongst others like the
> myfaces-api-2.1.3.jar. I've tried others. I've tried removing some in
> the event there was maybe a conflict. I've tried adding jars to current
> projects in their WEB-INF/lib folders but nothing I do gets around the
> error message. I'm a newbie and have spent literally days on this and at
> this point would like nothing more than for someone to say "you idiot,
> you didn't include this or you forgot to set that". Please feel free and
> thanks for any help.
Previous Topic:Trinidad components do not render in Visual Editor
Next Topic:Change in Deployment Assembly behaviour?
Goto Forum:
  


Current Time: Fri Aug 01 02:07:20 EDT 2014

Powered by FUDForum. Page generated in 0.06140 seconds