0

Assert.assertThat(newUrl.contains("providerId="), is(true));

why do i get this error:

java.lang.NoSuchMethodError: org.hamcrest.Matcher.describeMismatch(Ljava/lang/Object;Lorg/hamcrest/Description;)V
    at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
    at org.junit.Assert.assertThat(Assert.java:865)
    at org.junit.Assert.assertThat(Assert.java:832)
Elad Benda
  • 30,720
  • 75
  • 234
  • 415
  • well, what are you doing in `at com.waze.automation.rtsimulator.headlessclient.HeadlessClientE2ET.getAdvilUrlReturnsUrlWithPopulatedAdsInfoAndRtStateInfo(HeadlessClientE2ET.java:381)`? Is this a maven app? – EpicPandaForce Jan 28 '15 at 15:38
  • @Stacktrace I don't get it. is it a syntax issue or a configuration issue? – Elad Benda Jan 28 '15 at 15:52
  • If it compiles (and if it did not compile you would not get this error) than it is bound to be configuration problem. Wrong version/package in classpath... – Germann Arlington Jan 28 '15 at 16:50

0 Answers0