java.lang.ClassNotFoundException: org.codehaus.groovy.ast.builder.AstBuilderTransformation 2 errors

JIRA | arno schumacher | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    {panel:title=*This issue has moved*} {color:red}This issue has been moved permanently to [Adaptavist's Product Support JIRA instance|https://productsupport.adaptavist.com/browse/GRV-3].{color} All existing users of this instance should have the same username on our Product Support instance. However, you will very likely need to click on the [Can't access your account|https://productsupport.adaptavist.com/secure/ForgotLoginDetails.jspa] link in order to reset to a new password. {panel}We have coded some groovy conditions. When we use a saved filter gadget, a ClassNotFoundException is thrown. The {{java.util.ServiceLoader}} uses the Thread Context Class Loader to relsove the service implementation. As fare as I know OSGi or V2 Plugins the OSGi Spec does not define what will be provided by the Thread Context Classloader.... this might be root of the problem. {code} Could not instantiate global transform class org.codehaus.groovy.ast.builder.AstBuilderTransformation specified at jar:file:/avono/projects//atlassian-jira-enterprise-4.1.1-standalone/ avono-accounting-webapp-4.1.0-SNAPSHOT-build_CCPT_285-rev_1409/WEB-INF/lib/groovy-all-1.7.3.jar!/META-INF/services/org.codehaus.groovy.transform.ASTTransformation because of exception java.lang.ClassNotFoundException: org.codehaus.groovy.ast.builder.AstBuilderTransformation 2 errors javax.script.ScriptException: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Could not instantiate global transform class groovy.grape.GrabAnnotationTransformation specified at jar:file:/avono/projects/jira.rw/atlassian-jira-enterprise-4.1.1-standalone/avono-accounting-webapp-4.1.0- SNAPSHOT-build_CCPT_285-rev_1409/WEB-INF/lib/groovy-all-1.7.3.jar!/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 jar:file:/avono/projects/jira.rw/atlassian-jira-enterprise-4.1.1-standalone/avono-accounting-webapp-4.1.0-SNAPSHOT-build-CCPT_285-rev_1409/WEB-INF/lib/groovy-all-1.7.3.jar!/META-INF/services/org.codehaus.groovy.transform.ASTTransformation because of exception java.lang.ClassNotFoundException: org.codehaus.groovy.ast.builder.AstBuilderTransformation 2 errors at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:117) at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:103) at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:232) {code}

    JIRA | 7 years ago | arno schumacher
    java.lang.ClassNotFoundException: org.codehaus.groovy.ast.builder.AstBuilderTransformation 2 errors
  2. 0

    {panel:title=*This issue has moved*} {color:red}This issue has been moved permanently to [Adaptavist's Product Support JIRA instance|https://productsupport.adaptavist.com/browse/GRV-3].{color} All existing users of this instance should have the same username on our Product Support instance. However, you will very likely need to click on the [Can't access your account|https://productsupport.adaptavist.com/secure/ForgotLoginDetails.jspa] link in order to reset to a new password. {panel}We have coded some groovy conditions. When we use a saved filter gadget, a ClassNotFoundException is thrown. The {{java.util.ServiceLoader}} uses the Thread Context Class Loader to relsove the service implementation. As fare as I know OSGi or V2 Plugins the OSGi Spec does not define what will be provided by the Thread Context Classloader.... this might be root of the problem. {code} Could not instantiate global transform class org.codehaus.groovy.ast.builder.AstBuilderTransformation specified at jar:file:/avono/projects//atlassian-jira-enterprise-4.1.1-standalone/ avono-accounting-webapp-4.1.0-SNAPSHOT-build_CCPT_285-rev_1409/WEB-INF/lib/groovy-all-1.7.3.jar!/META-INF/services/org.codehaus.groovy.transform.ASTTransformation because of exception java.lang.ClassNotFoundException: org.codehaus.groovy.ast.builder.AstBuilderTransformation 2 errors javax.script.ScriptException: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Could not instantiate global transform class groovy.grape.GrabAnnotationTransformation specified at jar:file:/avono/projects/jira.rw/atlassian-jira-enterprise-4.1.1-standalone/avono-accounting-webapp-4.1.0- SNAPSHOT-build_CCPT_285-rev_1409/WEB-INF/lib/groovy-all-1.7.3.jar!/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 jar:file:/avono/projects/jira.rw/atlassian-jira-enterprise-4.1.1-standalone/avono-accounting-webapp-4.1.0-SNAPSHOT-build-CCPT_285-rev_1409/WEB-INF/lib/groovy-all-1.7.3.jar!/META-INF/services/org.codehaus.groovy.transform.ASTTransformation because of exception java.lang.ClassNotFoundException: org.codehaus.groovy.ast.builder.AstBuilderTransformation 2 errors at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:117) at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:103) at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:232) {code}

    JIRA | 7 years ago | arno schumacher
    java.lang.ClassNotFoundException: org.codehaus.groovy.ast.builder.AstBuilderTransformation 2 errors

    Root Cause Analysis

    1. java.lang.ClassNotFoundException

      org.codehaus.groovy.ast.builder.AstBuilderTransformation 2 errors

      at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval()
    2. Groovy
      GroovyScriptEngineImpl.eval
      1. org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:117)
      2. org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:103)
      2 frames
    3. Java RT
      AbstractScriptEngine.eval
      1. javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:232)
      1 frame