java.lang.NoSuchMethodError: org.gradle.tooling.internal.consumer.DefaultBuildLauncher.withInjectedClassPath(Lorg/gradle/testkit/jarjar/org/gradle/internal/classpath/ClassPath;)Lorg/gradle/tooling/internal/consumer/AbstractLongRunningOperation;

gradle.org | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    NoSuchMethodError in TestKit after 2.9 -> 2.10 transition - Bugs - Gradle Forums

    gradle.org | 7 months ago
    java.lang.NoSuchMethodError: org.gradle.tooling.internal.consumer.DefaultBuildLauncher.withInjectedClassPath(Lorg/gradle/testkit/jarjar/org/gradle/internal/classpath/ClassPath;)Lorg/gradle/tooling/internal/consumer/AbstractLongRunningOperation;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.gradle.tooling.internal.consumer.DefaultBuildLauncher.withInjectedClassPath(Lorg/gradle/testkit/jarjar/org/gradle/internal/classpath/ClassPath;)Lorg/gradle/tooling/internal/consumer/AbstractLongRunningOperation;

      at org.gradle.testkit.runner.internal.ToolingApiGradleExecutor.run()
    2. org.gradle.testkit
      DefaultGradleRunner.build
      1. org.gradle.testkit.runner.internal.ToolingApiGradleExecutor.run(ToolingApiGradleExecutor.java:98)
      2. org.gradle.testkit.runner.internal.DefaultGradleRunner.run(DefaultGradleRunner.java:261)
      3. org.gradle.testkit.runner.internal.DefaultGradleRunner.build(DefaultGradleRunner.java:210)
      3 frames