xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thierry Kormann <tkorm...@ilog.fr>
Subject Re: sample code not working
Date Fri, 03 Aug 2001 12:06:37 GMT
On Friday 03 August 2001 10:03, viki wrote:
> I hava downloaded batik toolkit.
> On the page of JSVGCanvas, there is a program showing
> use of JSVGCanvas.
> The program compiles successfully but when i run that
> program and when
> i open any file, it shows "document loading..." and
> then i got following error.
> java.lang.NoSuchMethodError
>         at
> org.apache.batik.dom.util.SAXDocumentFactory.createDocument(SAXDocume
> ntFactory.java:181)
>         at
> org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(SAXSVGD
> ocumentFactory.java:96)
>         at
> org.apache.batik.bridge.DocumentLoader.loadDocument(DocumentLoader.ja
> va:85)
>         at
> org.apache.batik.swing.svg.SVGDocumentLoader.run(SVGDocumentLoader.ja
> va:69)
>
> please help me.

it seems that you have a classpath problem.
I manage to run the example without any problem. Please ensure that all .jar 
files of Batik are first in your classpath (put xerces.jar at the end for 
example).

Thierry.


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Mime
View raw message