1

I am trying to add prime faces to a new dynamic web project on eclipse so as instructed in the official website

You just need to download PrimeFaces, add the primefaces-{version}.jar to your classpath and import the namespace to get started.

To do this

  1. I created new dynamic web project in eclipse
  2. Right click on the project in project explorer -> Build path -> configure build path -> Libraries ->Add external jar

however using the template xhtml file provided didn't render primefaces tag

Mohammad Yahia
  • 483
  • 9
  • 19

1 Answers1

1

The solution is that

  1. the jar itself must be placed in WebContent\WEB-INF\lib
  2. then right click on that jar -> add to build path

note that using this solution doesn't work (creating lib folder under java resourses(

Mohammad Yahia
  • 483
  • 9
  • 19