aspose file tools*
The moose likes JSF and the fly likes problem in adding  prime faces jars in eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "problem in adding  prime faces jars in eclipse" Watch "problem in adding  prime faces jars in eclipse" New topic
Author

problem in adding prime faces jars in eclipse

raj talatam
Ranch Hand

Joined: Apr 19, 2012
Posts: 89
Hi,
i am doing prime faces examples , i have downloaded these 2 jars and added these jars as user library, in eclipse while i am editing that xhtml it is not giving any errors, but while running page it s not rendering components in the page.( i am getting empty page)
Diagnosis what i have done

1) unless i have added these jars it wont allow me to add prime faces tags like <p: etc
2)i just checked browser source it is giving prime faces tags as it is , including uri also..


while i am googled for this error ,in one of the blog they told me copy, paste jars in lib folder, i just copied these jars pasted in lib folder , it is woking fine ,

1) if this is the case , why i am not copied jars for jsf , jre etc in lib folder

what went wrong in my case.......
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16305
    
  21

The application's WEB-INF/lib folder contains application-specific libraries. Global libaries are contained elsewhere.

The JRE libraries, for example, are contained within the JVM's own lib directory. The J2EE, JSF and EL libraries (which may in some cases be the same library) are contained in a library directory specific to the webapp server.

Note that there can be some differences here. JSF is part of the JEE specification. Thus, the JSF core jars are part of the webapp server global library set in fully-compliant JEE servers. Tomcat, however, does not implement the full JEE standard. So webapps that use JSF and will be deployed on a Tomcat server must include copies of the JSF api and impl jars within the webapp's WEB-INF/lib directory.

The Primefaces jars are extensions to JSF and not part of the core standard, which is why you always have to include them in WEB-INF/lib.

Eclipse has nothing whatsoever to do with any of the preceding.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem in adding prime faces jars in eclipse