> From: Jon Burgin [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 14, 2002 6:11 PM
> To: 'Batik Users'
> Subject: document loader bug 1.5b2
>
>
> I have to create my own document loader since my documents do not
> come from
> a url addressable source.  Anyhow, my code worked well and good
> with 1.5b1,
> but now with beta2 I am getting the following exception when I call the
> constructor of document loader as indicated below:
>
> Exception:
>
> java.lang.NoClassDefFoundError:
> org/apache/batik/css/value/DefaultCommonCSSContext
>       at
> com.obsi.madars.gui.MadarsSVGCanvas.loadSVGDocument(MadarsSVGCanva
> s.java:360
> )
>       at
> com.obsi.madars.gui.MadarsSVGCanvas.display(MadarsSVGCanvas.java:429)
>       at
> com.obsi.madars.mdcr.gui.MDCRMainFrame.main(MDCRMainFrame.java:196)
>
>
> My Code:
>
> import org.apache.batik.bridge.DocumentLoader;        //I extend this
> ...
>
>        public DBDocumentLoader(UserAgent pUserAgent){
>                 super(pUserAgent);  //<-- exception thrown here
>        }
>
> The class is indeed no longer in the jar. Could someone please explain how
> to get around this or why it is gone?
>

It seems you forgot to recompile your classes with the new version of Batik.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to