commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark R. Diggory" <>
Subject [jelly] [BSF] Loading Scripting Engines
Date Thu, 30 Jan 2003 04:17:51 GMT
I'm having problems loading the javascript ScriptingEngine in version 
2.2 of BSF that is present in the jelly BSF Taglibrary

where and what is org/mozilla/javascript/JavaScriptException

unable to load language: javascript: java.lang.NoClassDefFoundError:
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(
         at java.lang.Class.getConstructor0(
         at java.lang.Class.newInstance0(
         at java.lang.Class.newInstance(
         at Source)
         at org.apache.commons.jelly.tags.bcel.Test.myMethod2(
         at org.apache.commons.jelly.tags.bcel.Test.main(
Exception in thread "main"

seems to occur when I do

BSFEngine engine = manager.loadScriptingEngine("javascript");

Am I missing something obvious concerning loading Scripting engines?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message