Re: [batik-rasterizer] NoClassDefFoundError: NamedColorSpace
Luis Bernardo <[email protected]> Sun, 01 Feb 2015 23:58:30 +0100
| Newsgroups | gmane.text.xml.batik.user |
|---|---|
| Message-ID | <[email protected]> |
This has been fixed in the submodules_cyclic_deps branch. The branch hasn't been merged yet because it is waiting for some parallel work to be merged first. The new dependency in xmlgraphics-commons was introduced when the svg12 color branch was merged to trunk. On 2/1/15 3:30 PM, Jan Tosovsky wrote: > On 2015-01-31 Jan Tosovsky wrote: >> I am trying to convert several SVG files with the most recent Batik >> (1.8pre, built from trunk using 'build jars' command), but I am getting >> (Win 7 64-bit, Oracle JDK 1.8.0): >> >> Exception in thread "main" java. >> lang.NoClassDefFoundError: >> org/apache/xmlgraphics/java2d/color/NamedColorSpace > >> Is there any remedy for this? I would expect all the reqired libraries >> specified in the MANIFEST.MF. > This patch works for me: > > Index: batik-rasterizer.mf > =================================================================== > --- batik-rasterizer.mf (revision 1656254) > +++ batik-rasterizer.mf (working copy) > @@ -20,3 +20,4 @@ > lib/xml-apis-ext.jar > lib/pdf-transcoder.jar > lib/js.jar > + lib/xmlgraphics-commons-svn-trunk.jar > > > But 'svn-trunk' in the 'xmlgraphics-commons-svn-trunk.jar' filename should > be rather a variable changed dynamically to the actual version. > > Jan > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >