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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to