I have just tried to add prettyfaces-jsf12-3.1.0.jar to my existing jsf app. I have made sure I have all the dependent jars in my project and I have created an empty pretty-config.xml in WEB-INF and I have added the rellevant filter and filter-mapping to my web.xml.
When I start tomcat 6 up I get the following error:
com.ocpsoft.pretty.PrettyException: Could not retrieve DynaViewId.
Which ultimately is caused by the web.xml being parsed and the DTD being attempted to be downloaded from sun.
I am under the impression that it should be getting this DTD from the servlet.jar like tomcat does rather than download it. I can’t see any parameters to change this behaviour and from looking around forums and google nobody else seems to be getting the same problem. Could anyone shed some light on what I’m doing wrong or missing?