• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

problem in adding prime faces jars in eclipse

Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.......
Saloon Keeper
Posts: 27708
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
    Bookmark Topic Watch Topic
  • New Topic