jakarta-bsf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anben Govender" <an...@webmail.co.za>
Subject Re: Loading Scripting Engines
Date Fri, 31 Jan 2003 11:12:43 GMT
You need to download mozilla's rhino jar.

On Wed, 29 Jan 2003 22:31:51 -0500 Mark R. Diggory
(mdiggory@latte.harvard.edu) wrote:

>I'm having problems loading the javascript ScriptingEngine in version
2.2
>
>unable to load language: javascript: java.lang.NoClassDefFoundError:
>org/mozilla/javascript/JavaScriptException
>         at java.lang.Class.getDeclaredConstructors0(Native Method)
>         at
java.lang.Class.privateGetDeclaredConstructors(Class.java:1576)
>         at java.lang.Class.getConstructor0(Class.java:1748)
>         at java.lang.Class.newInstance0(Class.java:266)
>         at java.lang.Class.newInstance(Class.java:249)
>         at com.ibm.bsf.BSFManager.loadScriptingEngine(Unknown
Source)
>         at
org.apache.commons.jelly.tags.bcel.Test.myMethod2(Test.java:36)
>         at
org.apache.commons.jelly.tags.bcel.Test.main(Test.java:45)
>Exception in thread "main"
>
>
>seems to occur when I do
>
>BSFEngine engine = manager.loadScriptingEngine("javascript");
>
>Am I missing something obvious concerning loading Scripting engines?
>
>-Mark
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: bsf-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: bsf-user-help@jakarta.apache.org
>

_______________________________________________________________
 http://www.webmail.co.za the South-African free email service

  NetWiseGurus.Com Portal - Your Own Internet Business Today!


Mime
View raw message