How do I set up jsr223 scripting with scala as scripting language
问题 So far I have tried the sling implementation for jsr223 scripting for scala, but was not able to get it set up correctly. when I do this: public static void main(String[] args) { try { new ScriptEngineManager().getEngineByName("scala"). eval("object HelloWorld {def main(args: Array[String]) { println(\"Hello, world!\") }}"); } catch (ScriptException e) { e.printStackTrace(); } } I got nothing but: javax.script.ScriptException: ERROR org.apache.sling.scripting.scala.Script line 13 : not found: