|
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 14:05 |
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.
|
|
|
Powered by
FUDForum. Page generated in 0.02178 seconds