java.lang.NoSuchMethodError: org.hamcrest.core.AnyOf.anyOf([Lorg/hamcrest/Matcher;)Lorg/hamcrest/Matcher;

Eclipse Bugzilla | gunnar | 4 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

    Inconsistent dependency handling with Hamcrest in Mockito and JUnit

    Eclipse Bugzilla | 4 years ago | gunnar
    java.lang.NoSuchMethodError: org.hamcrest.core.AnyOf.anyOf([Lorg/hamcrest/Matcher;)Lorg/hamcrest/Matcher;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.hamcrest.core.AnyOf.anyOf([Lorg/hamcrest/Matcher;)Lorg/hamcrest/Matcher;

      at org.hamcrest.number.OrderingComparisons.greaterThanOrEqualTo()
    2. Hamcrest
      OrderingComparisons.lessThan
      1. org.hamcrest.number.OrderingComparisons.greaterThanOrEqualTo(OrderingComparisons.java:20)
      2. org.hamcrest.number.OrderingComparisons.lessThan(OrderingComparisons.java:27)
      2 frames
    3. org.eclipse.swtbot
      WaitForShellTest.waitsForShellToAppear
      1. org.eclipse.swtbot.swt.finder.waits.WaitForShellTest.waitsForShellToAppear(WaitForShellTest.java:52)
      1 frame