You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by sudhir hs <su...@hotmail.com> on 2001/06/19 13:28:42 UTC
new to baltik -- Please help
Hello all,
I have installed baltik-1.0 on windows nt/95 and set the all required
classpath. at first I have downloaded only user version of baltik and tryed
to run anne.svg through baltik browser which is in baltik-1.0/samples. It
used to give the following error
java.lang.NoSuchMethodError
at
org.apache.baltik.dom.util.SAXDocumentFactory.createDocument(SAXDocumentFactory.java:81)
at org.apache.baltik.dom.svg.SAXSVGDocumentFactory.createDocument(...)
.
.
.
......
After that I downloaded batik-1.0 developer version and installed on c:
that is c:\xml-baltik now both r in the system.
I run build.bat file which is in c:\xml-baltik\build.bat
...
After that I was able to run the .svg files through baltik browser
now I compiled SaveAsJPEG.java file which is given in baltik-1.0\doc ...
and the above error comming again , I tryed other examples also
SVGApplication.java etc etc which r in that document I couden't able to run
single program I have checked classpath many times in maney ways ... nothing
positive...
same above error comming please help me to solve that and run first svg
programs
Thanking You
Regards
Sudhir H S
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org
Re: new to baltik -- Please help
Posted by Thierry Kormann <tk...@sophia.inria.fr>.
On Tuesday 19 June 2001 13:28, sudhir hs wrote:
> Hello all,
>
> I have installed baltik-1.0 on windows nt/95 and set the all required
> classpath. at first I have downloaded only user version of baltik and tryed
> to run anne.svg through baltik browser which is in baltik-1.0/samples. It
> used to give the following error
>
> java.lang.NoSuchMethodError
...
> now I compiled SaveAsJPEG.java file which is given in baltik-1.0\doc ...
> and the above error comming again , I tryed other examples also
> SVGApplication.java etc etc which r in that document I couden't able to run
> single program I have checked classpath many times in maney ways ...
> nothing positive...
I think you may have on your system the DOM binding in your classpath first
(before the batik .jar files). So using the build.bat, everything is ok as
your classpath is not considered at all. Using your own code (such as
compiling and running the SaveAsPJEG.java example) - your classpath is
considered and the DOM binding you might have take precedence on ours.
The problem often comes with an old version of the DOM binding or a not
complete archive (as we are using the whole DOM Level 2 binding including the
DOM CSS stuffs).
Hope this helps,
Thierry.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org