You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Sanjeev Kulshreshtha <sa...@gmail.com> on 2010/07/02 22:00:18 UTC
NoClassDefFoundError: SVGDOMImplementation (initialization failure)
Hi All,
I am trying to convert fo document to PCL using fop and getting
following error while instantiating FOPFactory :
java.lang.NoClassDefFoundError:
org.apache.batik.dom.svg.SVGDOMImplementation (initialization failure)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:130)
at org.apache.fop.image.loader.batik.BatikUtil.isBatikAvailable(BatikUtil.java:33)
at org.apache.fop.image.loader.batik.ImageLoaderFactorySVG.isAvailable(ImageLoaderFactorySVG.java:60)
at org.apache.xmlgraphics.image.loader.spi.ImageImplRegistry.registerLoaderFactory(ImageImplRegistry.java:163)
at org.apache.xmlgraphics.image.loader.spi.ImageImplRegistry.discoverClasspathImplementations(ImageImplRegistry.java:97)
at org.apache.xmlgraphics.image.loader.spi.ImageImplRegistry.<init>(ImageImplRegistry.java:70)
at org.apache.xmlgraphics.image.loader.spi.ImageImplRegistry.getDefaultInstance(ImageImplRegistry.java:79)
at org.apache.xmlgraphics.image.loader.ImageManager.<init>(ImageManager.java:48)
at org.apache.fop.apps.FopFactory.<init>(FopFactory.java:154)
at org.apache.fop.apps.FopFactory.newInstance(FopFactory.java:166)
I am running code on Weblogic 9.2 and all the required libraries
(fop.jar, batik-all.jar and xmlgraphics-commons-1.3.1.jar) are in
class path.
I am using FOP version 0.95
This error does not comes when i run this as a stand-alone program.
And in Weblogic, it appears on a random basis not always.
Any help in this regard will be much appreciated.
Thanks!
Sanjeev
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: NoClassDefFoundError: SVGDOMImplementation (initialization failure)
Posted by Craig Ringer <cr...@postnewspapers.com.au>.
On 03/07/10 04:00, Sanjeev Kulshreshtha wrote:
> java.lang.NoClassDefFoundError:
> org.apache.batik.dom.svg.SVGDOMImplementation (initialization failure)
>
> at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)
I suspect you'd better chase this up with the WebLogic folks, as it
looks like the classloader is encountering an internal failure.
--
Craig Ringer
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org