Hi Thomas! Thanks for the answer (and to Jonathan as well, of course!).
Jonathan's tip pointed me to the right direction. I did change my classpath a bit (re-organizing my maven-dependencies), and now it seems to work almost perfectly. The only problem I struggle with now, is the xslt-transformer/fop exiting my Java VM upon an error, but that is not related to batik. Thanks again to all your hints! Chris Am 21.07.2010 um 14:11 schrieb thomas.dewe...@kodak.com: > Hi Christian, > > Christian Bockermann <christian.bockerm...@udo.edu> wrote on 07/19/2010 > 04:12:43 PM: > > > However, as soon as I deploy my code into a web-application I run into some > > class-cast errors: > > > > Caused by: java.lang.ClassCastException: > > org.apache.batik.extension.svg.BatikDomExtension cannot be cast to > > org.apache.batik.dom.DomExtension > > This indicates that you have Batik in two independent classpath > domains within the servlet container (or what ever the web app is > talking to. > > You can tell this because if you look at > org.apache.batik.extension.svg.BatikDomExtension it _does_ extend > org.apache.batik.dom.DomExtension. So the only possible reason > to get this exception is if there are two instances of the class > "org.apache.batik.dom.DomExtension". > > If none of this makes sense to you then you need to find a > class path guru and have them help you sort out your class path > in the servlet engine. > > Good luck. > --------------------------------------------------------------------- To unsubscribe, e-mail: batik-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: batik-users-h...@xmlgraphics.apache.org