what should I do?
Caused by: java.lang.NoClassDefFoundError: com.atlassian.greenhopper.manager.GreenHopperCache
at org.codehaus.groovy.ast.decompiled.AsmReferenceResolver.resolveClass(AsmReferenceResolver.java:46)
at org.codehaus.groovy.ast.decompiled.ClassSignatureParser.configureClass(ClassSignatureParser.java:42)
at org.codehaus.groovy.ast.decompiled.DecompiledClassNode.lazyInitSupers(DecompiledClassNode.java:183)
at org.codehaus.groovy.ast.decompiled.DecompiledClassNode.getGenericsTypes(DecompiledClassNode.java:80)
at org.codehaus.groovy.control.GenericsVisitor.checkGenericsUsage(GenericsVisitor.java:131)
at org.codehaus.groovy.control.GenericsVisitor.visitDeclarationExpression(GenericsVisitor.java:104)
at org.codehaus.groovy.ast.expr.DeclarationExpression.visit(DeclarationExpression.java:89)
at org.codehaus.groovy.ast.CodeVisitorSupport.visitExpressionStatement(CodeVisitorSupport.java:120)
at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitExpressionStatement(ClassCodeVisitorSupport.java:197)
at org.codehaus.groovy.ast.stmt.ExpressionStatement.visit(ExpressionStatement.java:40)
at org.codehaus.groovy.ast.CodeVisitorSupport.visitBlockStatement(CodeVisitorSupport.java:86)
at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitBlockStatement(ClassCodeVisitorSupport.java:106)
at org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:69)
at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClassCodeContainer(ClassCodeVisitorSupport.java:110)
at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitConstructorOrMethod(ClassCodeVisitorSupport.java:121)
at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitMethod(ClassCodeVisitorSupport.java:132)
at org.codehaus.groovy.control.GenericsVisitor.visitMethod(GenericsVisitor.java:91)
at org.codehaus.groovy.ast.ClassNode.visitContents(ClassNode.java:1103)
at org.codehaus.groovy.control.GenericsVisitor.visitClass(GenericsVisitor.java:65)
at org.codehaus.groovy.control.CompilationUnit$4.call(CompilationUnit.java:228)
at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1084)
... 379 more
I see that you use Adaptavist ScriptRunner and you imported the not-found class from the Jira Agile plugin.
When you require some class from a plugin you MUST use the special ScriptRunner annotation:
// For multiple used plugins
@WithPlugin([
'com.pyxis.greenhopper.jira',
])
// Or simple for one used plugin
@WithPlugin('com.pyxis.greenhopper.jira')
You may find more details about this in the official ScriptRunner documentation: https://docs.adaptavist.com/sr4js/latest/integrations/other-apps
Also if you need services from Jira Agile you may use @JiraAgileBean annotation as described here: https://docs.adaptavist.com/sr4js/latest/integrations/other-apps/jira-agile
When are you getting this error or what is triggering it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i have a different problem? But I don't know what triggered it. When I say "log analyzer" I get
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.