title: Execution failed for task ':compileIntegrationTestGroovy'
body: <p>I created an application with</p>
  
  <pre><code>grails create-app TestApp
  </code></pre>
  
  <p>I've created test with</p>
  
  <pre><code>grails create-functional-test Test
  </code></pre>
  
  <p>When I tried to start test with</p>
  
  <pre><code>grails test-app
  </code></pre>
  
  <p>It gave me an error:</p>
  
  <pre><code>Execution failed for task ':compileIntegrationTestGroovy'.
  </code></pre>
  
  <p>The question is how to run tests and solve this problem?
  Maybe I've missed some dependencies?</p>
  
  <p>Output is:
  * What went wrong:
  Execution failed for task ':compileIntegrationTestGroovy'.</p>
  
  <blockquote>
    <p>org.codehaus.groovy.ast.tools.GenericsUtils.addMethodGenerics(Lorg/codehaus/groovy/ast/MethodNode;Ljava/util/Map;)Ljava/util/Map;</p>
  </blockquote>
  
  <p>UPD:</p>
  
  <pre><code>grails test-app --stacktrace
  </code></pre>
  
  <p>returns a long stacktrace with</p>
  
  <pre><code>Caused by: java.lang.NoSuchMethodError: 
  </code></pre>
  
  <p>org.codehaus.groovy.ast.tools.GenericsUtils.addMethodGenerics(Lorg/codehaus/groovy/ast/MethodNode;Ljava/util/Map;)Ljava/util/Map;</p>
  
  <p>UPD</p>
  
  <p>The test is</p>
  
  <pre><code>package myapp
  
  import grails.testing.mixin.integration.Integration
  import grails.transaction.*
  
  import geb.spock.*
  
  /**
    * See http://www.gebish.org/manual/current/ for more instructions
   */
  @Integration
  @Rollback
  class TestSpec extends GebSpec {
  
    def setup() {
    }
  
    def cleanup() {
    }
  
    void "test something"() {
        when:"The home page is visited"
            go '/'
  
        then:"The title is correct"
              title == "Welcome to Grails"
    }
  }
  </code></pre>