I'm using PrimeFaces 3.1 in my project. I'm facing a problem in applying a theme. I added the dark-hive-1.0.3.jar to the project and configured in
web.xml as following.
<context-param> <param-name>primefaces.THEME</param-name> <param-value>dark-hive</param-value> </context-param>
When I run the project, following exception arises.
javax.faces.FacesException: Error loading theme, cannot find "theme.css" resource of "primefaces-dark-hive" library
How is this problem caused and how can I solve it?