Executing the following snippet leads to the following exception:
import groovy.util.ConfigSlurper
import groovy.util.ConfigObject
String s = ""
ConfigSlurper cs = new ConfigSlurper()
ConfigObject a = cs.parse(s)
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Could not instantiate global transform class groovy.grape.GrabAnnotationTransformation specified at bundle://172.0:2/META-INF/services/org.codehaus.groovy.transform.ASTTransformation because of exception java.lang.ClassNotFoundException: groovy.grape.GrabAnnotationTransformation Could not instantiate global transform class org.codehaus.groovy.ast.builder.AstBuilderTransformation specified at bundle://172.0:2/META-INF/services/org.codehaus.groovy.transform.ASTTransformation because of exception java.lang.ClassNotFoundException: org.codehaus.groovy.ast.builder.AstBuilderTransformation Could not instantiate global transform class org.spockframework.compiler.SpockTransform specified at bundle://172.0:5/META-INF/services/org.codehaus.groovy.transform.ASTTransformation because of exception java.lang.ClassNotFoundException: org.spockframework.compiler.SpockTransform 3 errors
I tried this using a real Jira instance with SR 5.5.9. and a local instance from the scriptrunner-samples with version 5.6.1. Can anyone tell me why this fails?
Hi @Max Berger
What are you trying to do? If you can share some details then it will be a bit easier.
Ravi
Thanks for the reply! I solved the problem on my own without the use of ConfigSlurper, but I think it is important to note that ConfigSlurper seems generally broken with ScriptRunner.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.