I added...
<dependency>
<groupId>crimson</groupId>
<artifactId>crimson</artifactId>
</dependency>
And that got me past this issue but then XML parsing breaks in other parts
of the app/build. So I can't use this.
What's the right way to add support for converting SVGs to PNGs that adds
the minimum number of dependencies to my build? I'd like to not add any
XML parser...just use the JDK if possible.
-Dave
On Fri, May 31, 2013 at 8:43 AM, David Hoffer <[email protected]> wrote:
> I'm trying to use batik-rasterizer to convert some SVGs to PNGs but I get
> the following runtime error.
>
> java.io.IOException: SAX2 driver class
> org.apache.crimson.parser.XMLReaderImpl not found
>
> I have the following in my maven build, what else do I need?
>
> <dependency>
> <groupId>org.apache.xmlgraphics</groupId>
> <artifactId>batik-rasterizer</artifactId>
> <version>1.7</version>
> </dependency>
>
>
>