Return-Path: Delivered-To: apmail-xml-batik-users-archive@xml.apache.org Received: (qmail 88753 invoked by uid 500); 3 Aug 2001 12:06:39 -0000 Mailing-List: contact batik-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: "Batik Users" Delivered-To: mailing list batik-users@xml.apache.org Received: (qmail 88738 invoked from network); 3 Aug 2001 12:06:39 -0000 X-Authentication-Warning: quokka.inria.fr: Host localhost [127.0.0.1] claimed to be quokka Content-Type: text/plain; charset="iso-8859-1" From: Thierry Kormann Organization: ILOG To: "Batik Users" , viki , batik-users@xml.apache.org Subject: Re: sample code not working Date: Fri, 3 Aug 2001 14:06:37 +0200 X-Mailer: KMail [version 1.2] References: <20010803080322.95528.qmail@web10507.mail.yahoo.com> In-Reply-To: <20010803080322.95528.qmail@web10507.mail.yahoo.com> MIME-Version: 1.0 Message-Id: <0108031406370K.11373@quokka> Content-Transfer-Encoding: 8bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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