AnsweredAssumed Answered

Scripting engine for groovy not found inside jar, even though it is included

Question asked by kayj on Jul 5, 2016
Latest reply on Jul 18, 2016 by martin.grofcik

I'm using an in memory engine. It is intialized by:

I'm using Activiti 5.17.0, Groovy is added as a dependency


Starting the application in my dev environment, i.e. IntelliJ, everything works fine. But after building a jar and executing the jar file via terminal an exception is thrown stating "that a scripting engine for groovy can't be found". It is thrown when the process execution reaches a ScriptTask, which contains a groovy script.

I assurred that the groovy lib is packaged into the jar. Also if I run maven:site the groovy-all dependency is listed. So it should work! What am I missing?

Best regards,


PS: the error message is attached to a txt file. Due to unknown reasons my thread never appears in the forum. Already tried to post it several times. I'm still trying to figure out why.