org.spockframework.util.IncompatibleVersionsError: The Spock compiler plugin could not run because Spock 0.4.0-groovy-1.7 is not compatible with Groovy 1.8.0-beta-1-SNAPSHOT. For more information, see http://versioninfo.spockframework.org Spock location: file:/C:/Program1/Groovy/Groovy-1.7.2/lib/spock- core-0.4-groovy-1.7.jar Groovy location: file:/C:/Program1/Groovy/Groovy-1.7.2/lib/ groovy-1.8.0-beta-1-SNAPSHOT-0.2.5.jar

Google Groups | viklund_anders | 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

    groovypp-0.2.5, java.lang.NoSuchMethodError: org.codehaus.groovy.ast.ModuleNode.getImport(Ljava/lang/String;)Lorg/codehaus/groovy/ast/ClassNode;

    Google Groups | 7 years ago | viklund_anders
    org.spockframework.util.IncompatibleVersionsError: The Spock compiler plugin could not run because Spock 0.4.0-groovy-1.7 is not compatible with Groovy 1.8.0-beta-1-SNAPSHOT. For more information, see http://versioninfo.spockframework.org Spock location: file:/C:/Program1/Groovy/Groovy-1.7.2/lib/spock- core-0.4-groovy-1.7.jar Groovy location: file:/C:/Program1/Groovy/Groovy-1.7.2/lib/ groovy-1.8.0-beta-1-SNAPSHOT-0.2.5.jar

    Root Cause Analysis

    1. org.spockframework.util.IncompatibleVersionsError

      The Spock compiler plugin could not run because Spock 0.4.0-groovy-1.7 is not compatible with Groovy 1.8.0-beta-1-SNAPSHOT. For more information, see http://versioninfo.spockframework.org Spock location: file:/C:/Program1/Groovy/Groovy-1.7.2/lib/spock- core-0.4-groovy-1.7.jar Groovy location: file:/C:/Program1/Groovy/Groovy-1.7.2/lib/ groovy-1.8.0-beta-1-SNAPSHOT-0.2.5.jar

      at org.spockframework.util.VersionChecker.checkSpockAndGroovyVersionsAreCompatible()
    2. Spock Framework - Core Module
      SpockTransform.<init>
      1. org.spockframework.util.VersionChecker.checkSpockAndGroovyVersionsAreCompatible(VersionChecker.java:22)
      2. org.spockframework.compiler.SpockTransform.<init>(SpockTransform.java:42)
      2 frames
    3. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      5. java.lang.Class.newInstance0(Class.java:355)
      6. java.lang.Class.newInstance(Class.java:308)
      6 frames
    4. Groovy
      FileSystemCompiler.main
      1. org.codehaus.groovy.transform.ASTTransformationVisitor.addPhaseOperationsForGlobalTransforms(ASTTransformationVisitor.java:300)
      2. org.codehaus.groovy.transform.ASTTransformationVisitor.doAddGlobalTransforms(ASTTransformationVisitor.java:267)
      3. org.codehaus.groovy.transform.ASTTransformationVisitor.addGlobalTransforms(ASTTransformationVisitor.java:188)
      4. org.codehaus.groovy.transform.ASTTransformationVisitor.addPhaseOperations(ASTTransformationVisitor.java:151)
      5. org.codehaus.groovy.control.CompilationUnit.<init>(CompilationUnit.java:184)
      6. org.codehaus.groovy.control.CompilationUnit.<init>(CompilationUnit.java:113)
      7. org.codehaus.groovy.control.CompilationUnit.<init>(CompilationUnit.java:105)
      8. org.codehaus.groovy.tools.FileSystemCompiler.<init>(FileSystemCompiler.java:51)
      9. org.codehaus.groovy.tools.FileSystemCompiler.doCompilation(FileSystemCompiler.java:169)
      10. org.codehaus.groovy.tools.FileSystemCompiler.commandLineCompile(FileSystemCompiler.java:138)
      11. org.codehaus.groovy.tools.FileSystemCompiler.main(FileSystemCompiler.java:152)
      11 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    6. Groovy
      GroovyStarter.main
      1. org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:108)
      2. org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:130)
      2 frames