Can you check the META-INF/services/javax.script.ScriptEngineFactory files
within the two respective jars? Mine seem identical for those two releases.

Also, what happens when you run this script in the groovyConsole:

def factory = new javax.script.ScriptEngineManager()
assert 'Groovy Scripting Engine' in factory.engineFactories*.engineName

Cheers, Paul.


On Thu, Jun 23, 2016 at 12:30 PM, Sampair, Timothy <
timothy.samp...@siemens.com> wrote:

> Hi Everyone,
>
>                 I have had no issue with auto discovery of the Groovy
> ScriptEngine JSR223 interface from my Java program in the past. Works fine
> with release 2.4.4. In fact if I replace the groovy-jsr223-2.4.7-indy.jar
> with the groovy-jsr223-2.4.4-indy.jar the auto discovery works. I am
> building and executing against JDK 1.8.0_90. Any thoughts?
>
>
>
> Thanks,
>
> -Tim Sampair
>
>
>
>
>
>
>
> *Classpath of ScriptUtil Class:*
>
>
>
>
>
> *Working code for other JSR223 Scripting Engines:*
>
>

Reply via email to