You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Stephane Hillion <St...@sophia.inria.fr> on 2000/12/14 19:52:48 UTC

Re: SVG to jpeg

helge gniech wrote:

> Hi,
>
> I couldn't find help info about my problem anywhere else in the Apache
> pages.
>
> I try to write a java-application, that convert SVGs to jpegs. In the batic
> sources I find a main.java from Thierry Kormann, but in my own application I
> have the following Exception:
>
> java.lang.ExceptionInInitializerError: java.lang.RuntimeException:
> org.w3c.flute.parser.Parser
>         at
> org.apache.batik.css.CSSDocumentHandler.setParserClassName(CSSDocumentHandle
> r.java:69)
>         at
> org.apache.batik.refimpl.transcoder.AbstractTranscoder.<clinit>(AbstractTran
> scoder.java:37)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:124)
>         at
> org.apache.batik.refimpl.transcoder.ConcreteTranscoderFactory.class$(Concret
> eTranscoderFactory.java:22)
>         at
> org.apache.batik.refimpl.transcoder.ConcreteTranscoderFactory.<clinit>(Concr
> eteTranscoderFactory.java:27)
> Exception in thread "main" Process Exit...
>
> The Exception was triggered by this java-code:
> TranscoderFactory factory =
> ConcreteTranscoderFactory.getTranscoderFactoryImplementation();
>
> can me help anybody?

You certainly forgot to add batik-ext.jar to your classpath.
--
    Stephane.