java.lang.NoSuchMethodError: org.junit.platform.launcher.listeners.TestExecutionSummary.getTotalFailureCount()J

GitHub | DanVanAtta | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    `gradlew` run failing while reporting tests

    GitHub | 9 months ago | DanVanAtta
    java.lang.NoSuchMethodError: org.junit.platform.launcher.listeners.TestExecutionSummary.getTotalFailureCount()J

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.junit.platform.launcher.listeners.TestExecutionSummary.getTotalFailureCount()J

      at org.junit.platform.console.tasks.ExecuteTestsTask.computeExitCode()
    2. org.junit.platform
      ExecuteTestsTask.lambda$execute$0
      1. org.junit.platform.console.tasks.ExecuteTestsTask.computeExitCode(ExecuteTestsTask.java:101)
      2. org.junit.platform.console.tasks.ExecuteTestsTask.executeTests(ExecuteTestsTask.java:65)
      3. org.junit.platform.console.tasks.ExecuteTestsTask.lambda$execute$0(ExecuteTestsTask.java:52)
      3 frames