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 Jan Tosovsky <j....@tiscali.cz> on 2015/02/01 15:30:05 UTC

RE: [batik-rasterizer] NoClassDefFoundError: NamedColorSpace

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: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org