[Tilesathome] Batik, Ubuntu and xml-apis-ext.jar
Matti Viljanen
matti.viljanen at wippies.com
Tue Dec 16 22:13:00 GMT 2008
Hi
I have Ubuntu 8.10 64-bit. I kept getting the following error with t at h and Batik:
Rasterize engine STDERR:Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/svg/SVGDocument
I hunted for the answer, and it seems that xml-apis-ext.jar was needed, but it was not included in the command that is generated via /tilesAtHome/lib/SVG/Rasterize/Engine/Batik.pm. So here's what I changed, line 148:
$self->jar_list([
'xercesImpl.jar',
'batik.jar'
]);
I changed that to this:
$self->jar_list([
'xercesImpl.jar',
'batik.jar',
'xml-apis-ext.jar'
]);
Now it finds the missing xml-apis-ext.jar, and I can render complex tiles with Batik, since Inkscape was mysteriously freezing (still hunting for that, too!)
--
Matti Viljanen
matti.viljanen at wippies.com
--
Saunalahti DataPaketti - tilaa nyt, saat 2 kk veloituksetta ja Nettitikun kaupan päälle!
http://saunalahti.fi/gsm/gsmdatapaketti.php
More information about the Tilesathome
mailing list