Error on startup when Digester tries to parse web.xml's DTD

Splash Forums PrettyFaces Users Error on startup when Digester tries to parse web.xml's DTD

This topic contains 2 replies, has 2 voices, and was last updated by  Christian Kaltepoth 11 years, 2 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #17806


    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?




    Could you please post the complete stacktrace? And additionally the logs regarding the DTD download?


    I think I found the cause of this issue and fixed it. Could you try the latest snapshot?

    You can download the JAR here:

    If you are using Maven update to 3.1.1-SNAPSHOT and add the following repository:


    Thank you for reporting this! :-)

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘PrettyFaces Users’ is closed to new topics and replies.

Comments are closed.