jsr223 - Scala 2.11 and jsr-223 not working -


I am very interested in using Scala script engine that we are now in Scala 2.11

I Notice that everything works within REPL, but if I do it by testing (I try with SBT and Maven) then the ScriptEngine is not found for the scale.

I have tried to see which ScriptEngine is present

  println ("manager:" + manager.getEngineFactories.size ()) manager.getEngineFactories .toList.foreach (factory = & gt; println (factory.getClass.getSimpleName))  

But I got the NationScriptEngine only (I have JDK 8)

Does anyone have an idea why I could not find it? I had previously written problems with the NationalScript in SSBT which can be solved by the forks added in the test but this is not a problem here.

It seems like the ScriptEngine is not present in the class when you are outside REPL

< P> Did you add REPL (and, maybe, compiler?) For class? I think that if you do not specify dependency and only bring the library, then it will definitely not work.

If you do this, maybe you can be more up to date with the details of how you are doing this test?


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

lua - HowTo create a fuel bar -