xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Billy Wan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BATIK-1126) Exception converting SVG to PDF - NoClassDefFoundError org/apache/batik/dom/svg/SVGDOMImplementation
Date Mon, 07 Sep 2015 17:25:45 GMT

    [ https://issues.apache.org/jira/browse/BATIK-1126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14733946#comment-14733946
] 

Billy Wan commented on BATIK-1126:
----------------------------------

Luis, where can I download Batik to solve the SVG to PDF issue? How I can solve it ? I get
the same issues for few days but cannot catch how to solve it. Pleas advise.

> Exception converting SVG to PDF - NoClassDefFoundError org/apache/batik/dom/svg/SVGDOMImplementation
> ----------------------------------------------------------------------------------------------------
>
>                 Key: BATIK-1126
>                 URL: https://issues.apache.org/jira/browse/BATIK-1126
>             Project: Batik
>          Issue Type: Bug
>          Components: SVG Rasterizer
>    Affects Versions: 1.8
>         Environment: Windows 7, Java version "1.8.0_45"
>            Reporter: Phil Middleton
>             Fix For: trunk
>
>
> I am attempting to convert SVG files to PDF using Batik-1.8. The command below works
using 1.7.1, but not in 1.8.
> I assume it is related to the changes referenced in http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-users/201503.mbox/%3C5515BC93.90402@ptc.com%3E.
> c:\temp>java -jar batik-1.8\batik-rasterizer-1.8.jar -scriptSecurityOff -d outputs
-m application/pdf "empty.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.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.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)
>         ... 11 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