Where has org.apache.batik.dom.svg.SVGDOMImplementation gone?

前端 未结 4 1798
灰色年华
灰色年华 2021-01-11 12:18

In the documentation for batik, it shows how to get an instance of the DOM implementation from the class org.apache.batik.dom.svg.SVGDOMImplementation.

However, afte

相关标签:
4条回答
  • 2021-01-11 12:32

    I had the same issue with Apache Batik 1.8. The official binaries of that version are not compatible. To get the version 1.8 work I had to replace fop-transcoder-allinone-1.1.jar by fop-transcoder-allinone-2.2.jar which I took from Apache Batik 1.9.

    0 讨论(0)
  • 2021-01-11 12:32

    Download binary of Apache Batik1.8 it makes life easier with above problem. Include only that in your project. That's enough. Here is the link.

    Note that binaries are nothing but source code compiled into Java Archive files (JARs) they are the one's that execute on JVM.

    0 讨论(0)
  • 2021-01-11 12:37

    I found the answer, embedded in the maillist thread posted in @Ajay's answer.

    It seems that in order to solve this bug, they have moved SVGDOMImplementation into package org.apache.batik.anim.dom, which lives in the jar file batik-anim-1.8.jar.

    As at the time of writing, the batik web site had not yet been updated, and for some reason this change was also not highlighted in the release notes.

    0 讨论(0)
  • 2021-01-11 12:40

    I'm having same issue, looks like we need to drop back to 1.7.. 1.8 is unstable as suggested in of the thread

    http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-users/201503.mbox/%3C5515BC93.90402@ptc.com%3E

    0 讨论(0)
提交回复
热议问题