Subj : Re: Bean Scripting Framework + Rhino To : Ben Hardill From : Igor Bukanov Date : Thu Jul 08 2004 04:49 pm You need to use BSF from CVS at apache.org or stick with Rhino 1.5R2. Ben Hardill wrote: > Does anybody have BSF working with Rhino 1.5R5? > > When I run the following code I get a missing method exception: > > Code: > > BSFManager BSFMan = new BSFManager(); > BSFMan.exec("javascript","",0,0,"System.out.println(\"helloworld\");"); > > Exception: > > java.lang.NoSuchMethodError: org.mozilla.javascript.Context: method > getDebuggableEngine()Lorg/mozilla/javascript/debug/DebuggableEngine; not > found > at org.apache.bsf.engines.javascript.JavaScriptEngine.eval(Unknown Source) > at org.apache.bsf.util.BSFEngineImpl.exec(Unknown Source) > at org.apache.bsf.BSFManager$6.run(Unknown Source) > at java.security.AccessController.doPrivileged1(Native Method) > at java.security.AccessController.doPrivileged(AccessController.java:350) > at org.apache.bsf.BSFManager.exec(Unknown Source) > at > InteractiveScriptEngine$1.actionPerformed(InteractiveScriptEngine.java:91) > > Any and all sugestions welcome. > > Thanks > > Ben Hardill .