ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Petar Tahchiev" <paranoia...@gmail.com>
Subject Re: java.lang.NoSuchMethodError: org.mozilla.javascript.Context.getDebuggableEngine()Lorg/mozilla/javascript/debug/DebuggableEngine;
Date Tue, 22 Aug 2006 12:27:52 GMT
On 22/08/06, Antoine Levy-Lambert <antoine@gmx.de> wrote:
> Hello Jack,
>
> not sure, maybe rhino.jar ? no, actually, this does not mean that a
> jar is missing, but rather that you do not have the right versions of
> bsf.jar, js.jar, rhino.jar (meaning matching versions containing each
> the function calls that work together).
>
> our docu says this :
>
> js.jar : Javascript with script task
> If you use Apache BSF 2.3.0-rc1, you must use rhino 1.5R3 - later
> versions of BSF work with 1.5R4 as well.
>
> We are now in the 1.6.x versions of rhino. Uhhm, maybe the newer
> versions of rhino do not work with bsf .. not sure, I have no clue
> about these call stacks.
>
> Regards,
>
> Antoine
>
>
>
>
> On Aug 22, 2006, at 2:10 AM, Jack J. Woehr wrote:
>
> > Going a little blind from looking at this. Know I'm missing a
> > dependency jar, but which one?
> >
> > Here's the error:
> >
> > /Users/jjw/Work/jaxjava/SoftWoehr/com/SoftWoehr/macros.xml:39:
> > java.lang.NoSuchMethodError:
> > org.mozilla.javascript.Context.getDebuggableEngine()Lorg/mozilla/
> > javascript/debug/DebuggableEngine;
> >
> > Here's the list of Jars I built Ant with (1.6.5 and current):
> >
> > -rw-r--r--   1 jjw  wheel   522313 Aug 21 16:57 bcel-5.2.jar
> > -rw-r--r--   1 jjw  wheel   175348 Aug 21 16:26 bsf.jar
> > -rw-r--r--   1 jjw  wheel   345796 Aug 21 10:41 cpptasks.jar
> > -rw-r--r--   1 jjw  wheel   378781 Aug 21 16:26 javacc.jar
> > -rw-r--r--   1 jjw  wheel   708578 Aug 21 16:04 js.jar
> > -rw-r--r--   1 jjw  wheel    76877 Aug 21 16:26 servlet.jar
> > -rw-r--r--   1 jjw  wheel  1010675 Aug 21 16:57 xercesImpl.jar
> > -rw-r--r--   1 jjw  wheel   108484 Aug 21 16:57 xml-apis.jar
> >
> > Thanks!
> >
> > ---
> > Jack J. Woehr
> > Director of Development
> > Absolute Performance, Inc.
> > jwoehr@absolute-performance.com
> > 303-443-7000 ext. 527
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
>
>
>

I've seen this error somewhere else....

As far as I remember it generates it when you try to use bsf.jar +
rhino.jar, because the Javascript that is in BSF is based on Rhino.

I suggest you work with Rhino 1.5R4.

Hope that helps.
-- 
Regards, Petar!
Karlovo, Bulgaria.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message