The ScriptEngine does not seem to handle Groovy `@` annotations such as `@GrabResolver` and `@Grab` : http://docs.groovy-lang.org/latest/html/documentation/grape.html I don't understand at what level this should be implemented. I have the feeling that the current implementation at https://github.com/scijava/scripting-groovy/blob/master/src/main/java/org/scijava/plugins/scripting/groovy/GroovyScriptEngine.java#L197 is not good enough. We should try to do something similar as Beaker : https://github.com/twosigma/beakerx/blob/6a23a9d58f31af0518c31d266ee327ab8ff20b87/kernel/groovy/src/main/java/com/twosigma/beaker/groovy/evaluator/GroovyEvaluator.java Can someone confirm ?