I am getting this error, when executing JSF and PrimeFaces.
I have included these jars,
- jsf-api-2.0.3.jar,
- jsf-impl-2.0.3.jar ,
- jstl-1.0.2.jar jars and
- primefaces-2.2.RC2.jar
in the WEB-INF/lib
folder.
Is there any jar I am missing?
I am getting this error, when executing JSF and PrimeFaces.
I have included these jars,
in the WEB-INF/lib
folder.
Is there any jar I am missing?
Download JAR's from here: http://myfaces.apache.org/download.html
Copy them to TOMCAT lib directory.
Add to Tomcat web.xml these lines from screenshot: listener
I had a similar issue and solved after running Maven Update a couple of times when it finally solved the issue. Running only once was not enough because the jar file was still corrupt so you need to make sure it opens with any compression tool like winzip or gzip.
I added jsf 2.0 & mojarra 2.0.3-fcs in POM and it fixed my problem.
Apparently, you're not missing anything else. Just try to do the following:
In the end, you should find those included jars, available within the "build" project folder.
Adding below jars to path
..WebContent\WEB-INF\lib
and a maven update solved the problem.jsf-api
jsf-impl
If you tried to convert your simple java project to web project using maven and changing specificications from project facets, you won't get a compile error but when you start deployment you can see this error message.
to solve this think of it. This is a web project and needs to deploy as a war file (or ear).
change packaging spec to war in your pom.xml then compile maven again.