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

JIRA | arno schumacher | 6 years ago
  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 | 6 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 | 6 years ago | arno schumacher
    java.lang.ClassNotFoundException: org.codehaus.groovy.ast.builder.AstBuilderTransformation 2 errors
  3. 0

    Hadoop-Mapreduce-trunk - Build # 3057 - Still Failing

    hadoop-mapreduce-dev | 9 months ago | Apache Jenkins Server
    org.apache.hadoop.yarn.exceptions.YarnRuntimeException: java.lang.NoClassDefFoundError: org/apache/hadoop/fs/Hdfs$2
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 103#133005790

    GitHub | 1 year ago | Garagoth
    java.lang.NoClassDefFoundError: com/webcohesion/enunciate/modules/java_xml_client/EnunciateJavaXMLClientModule$2
  6. 0

    enunciate 2.0.0.M2 failing to generate docs

    GitHub | 1 year ago | Garagoth
    java.lang.NoClassDefFoundError: com/webcohesion/enunciate/modules/java_xml_client/EnunciateJavaXMLClientModule$2

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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