I know this question is too old and often asked. But I am new to JSF, and not able to find the exact solution for the same. I am using Eclipse and trying to create a simple JSF application with Prime Faces support.
I tried many steps. I need help in exact steps in creating an application. Initially I tried by creating dynamic web application and selecting JSF 2.2 and importing Apache Myfaces 2.2 jar. It worked fine but I have to restart the Tomcat each and every time when code are changed.
Well on the other side I imported some of my JSF web application of my organization, it works as expected, but when I placed its jar in the new project and followed the same steps, it gives some error. Sometimes, tomcat failed to start, sometimes its giving an error 'Error in thread 'main''. Though there is no java resource present in my project.
What exact steps to follow and what core jars are needed in creating jsf with prime faces support. And it would be great help if anybody can explain the difference between placing the jars in java build path and placing the jars in Web>lib folder.