Fedora Account System
Red Hat Associate
Red Hat Customer
I'm getting this on running a tool: java.lang.NoClassDefFoundError: org.apache.batik.i18n.LocalizableSupport Am I missing a sub-package of batik? Do we miss a "useful" package for batik in the Fedora-repo?
I am not sure how to reproduce this, can you give me more information?
Part of an OpenStreetMap-renderer uses batik-rasterizer to render SVG into PNG. Thats where the error about a missing class appears. And since I didn't find it in any package nor any "batik-i18n"-package or so I wonder if this might be some yet unpackaged part of batik or so ...
org.apache.batik.i18n.LocalizableSupport is available in the batik-all.jar -all means all batik "libraries" ,which include batik-rasterizer. It is also possible to build them separately. Maybe you need to set some CLASSPATH ?!
The same error exists in Fedora 10. When I use the script /usr/bin/rasterizer from batik-rasterizer.rpm the same error occurs. I have investigated it and found that when I add some missing jars to the BASE_JARS variable in the script, rendering to PNG works. It might be important that I use Sun's JRE and I do not use alternatives. More over to be able to render to PDF FOP is needed that is not in batik-rasterizer.rpm dependencies.
Thanks. fixed, will appear in rawhide and updates soon.
batik-1.7-0.5 has been submitted as an update for Fedora 9. http://admin.fedoraproject.org/updates/batik-1.7-0.5
batik-1.7-0.6 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/batik-1.7-0.6
batik-1.7-0.5 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.
batik-1.7-0.6 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.
(In reply to comment #9) > batik-1.7-0.6 has been pushed to the Fedora 10 stable repository. If problems > still persist, please make note of it in this bug report. Regression in FC12. batik-rasterizer-1.7-6.fc12.noarch once again is missing the i18n stuff.