xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Zobkov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (BATIK-1148) NoClassDefFoundError: org/apache/batik/dom/svg/SVGDOMImplementation while converting svg to pdf
Date Sat, 16 Apr 2016 17:24:25 GMT
Alexander Zobkov created BATIK-1148:
---------------------------------------

             Summary: NoClassDefFoundError: org/apache/batik/dom/svg/SVGDOMImplementation
while converting svg to pdf 
                 Key: BATIK-1148
                 URL: https://issues.apache.org/jira/browse/BATIK-1148
             Project: Batik
          Issue Type: Bug
          Components: SVG DOM, SVG Rasterizer
    Affects Versions: 1.8
         Environment: Windows 7, JDK 1.7
            Reporter: Alexander Zobkov
            Priority: Critical


It seems batik-rasterizer relies on outdated version of fop-transcoder-allinone-1.1.jar. fop-transcoder-allinone
uses org.apache.batik.dom.svg.SVGDOMImplementation that is not present anymore in batik-svg-dom
1.8. 

F:\tools\batik-1.8>java -jar batik-rasterizer-1.8.jar -d ...\output -m application/pdf
...\rhev-console-access.svg.svg
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/batik/dom/svg/SVGDOMImplementation
        at org.apache.fop.svg.AbstractFOPTranscoder.<init>(AbstractFOPTranscoder.java:107)
        at org.apache.fop.svg.PDFTranscoder.<init>(PDFTranscoder.java:84)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at java.lang.Class.newInstance0(Unknown Source)
        at java.lang.Class.newInstance(Unknown Source)
        at org.apache.batik.apps.rasterizer.DestinationType.getTranscoder(Unknown Source)
        at org.apache.batik.apps.rasterizer.SVGConverter.execute(Unknown Source)
        at org.apache.batik.apps.rasterizer.Main.execute(Unknown Source)
        at org.apache.batik.apps.rasterizer.Main.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.apache.batik.dom.svg.SVGDOMImplementation
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 12 more




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


Mime
View raw message