java.lang.NoSuchMethodError: com.github.tomakehurst.wiremock.client.WireMock.get(Lcom/github/tomakehurst/wiremock/matching/UrlPattern;)Lcom/github/tomakehurst/wiremock/client/RemoteMappingBuilder;

GitHub | oschwald | 4 months ago
  1. 0

    NoSuchMethodError in 2.1.10+

    GitHub | 4 months ago | oschwald
    java.lang.NoSuchMethodError: com.github.tomakehurst.wiremock.client.WireMock.get(Lcom/github/tomakehurst/wiremock/matching/UrlPattern;)Lcom/github/tomakehurst/wiremock/client/RemoteMappingBuilder;
  2. 0

    GitHub comment 235#249026935

    GitHub | 4 months ago | schlosna
    java.lang.NoSuchMethodError: com.palantir.remoting1.servers.BraveTracer.defaultClock()Lcom/github/kristofa/brave/AnnotationSubmitter$Clock;
  3. 0

    How to calculate time difference with nscala_time in Spark

    Stack Overflow | 1 month ago | Liaoxiaochen
    java.lang.NoSuchMethodError: com.github.nscala_time.time.Imports$.RichReadableInstant(Lorg/joda/time/ReadableInstant;)Lcom/github/nscala_time/time/RichReadableInstant;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    I was using the library hibernate-entitymanager:4.3.5.Final with java persistence API 2.0 instead of using it with hibernate-entitymanager:4.2.8.Final.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      com.github.tomakehurst.wiremock.client.WireMock.get(Lcom/github/tomakehurst/wiremock/matching/UrlPattern;)Lcom/github/tomakehurst/wiremock/client/RemoteMappingBuilder;

      at com.maxmind.geoip2.WebServiceClientTest.createClient()
    2. MaxMind GeoIP2 API
      WebServiceClientTest.test400WithUnexpectedContentType
      1. com.maxmind.geoip2.WebServiceClientTest.createClient(WebServiceClientTest.java:347)
      2. com.maxmind.geoip2.WebServiceClientTest.createInsightsMeError(WebServiceClientTest.java:325)
      3. com.maxmind.geoip2.WebServiceClientTest.test400WithUnexpectedContentType(WebServiceClientTest.java:273)
      3 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    4. JUnit
      ExpectedException$ExpectedExceptionStatement.evaluate
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      5. org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:239)
      5 frames
    5. WireMock
      WireMockRule$1.evaluate
      1. com.github.tomakehurst.wiremock.junit.WireMockRule$1.evaluate(WireMockRule.java:72)
      1 frame
    6. JUnit
      BlockJUnit4ClassRunner.runChild
      1. org.junit.rules.RunRules.evaluate(RunRules.java:20)
      2. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      3. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      3 frames
    7. JUnitParams
      JUnitParamsRunner.runChild
      1. junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:421)
      2. junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:386)
      2 frames
    8. JUnit
      ParentRunner.run
      1. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      2. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      3. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      4. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      5. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      6. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      6 frames
    9. JUnit4 Provider
      JUnit4Provider.invoke
      1. org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
      2. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
      3. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
      3 frames
    10. SureFire
      ForkedBooter.main
      1. org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
      2. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
      3. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      3 frames