java.lang.NoSuchMethodError: com.jayway.jsonpath.JsonPath.compile(Ljava/lang/String;[Lcom/jayway/jsonpath/Filter;)Lcom/jayway/jsonpath/JsonPath;

Stack Overflow | Bhavesh | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Exception caught while running junit

    Stack Overflow | 1 year ago | Bhavesh
    java.lang.NoSuchMethodError: com.jayway.jsonpath.JsonPath.compile(Ljava/lang/String;[Lcom/jayway/jsonpath/Filter;)Lcom/jayway/jsonpath/JsonPath;
  2. 0

    What is the dependency I need to get jsonpath matching to work with Spring mock mvc?

    Stack Overflow | 1 year ago | Dave
    java.lang.NoSuchMethodError: com.jayway.jsonpath.JsonPath.compile(Ljava/lang/String;[Lcom/jayway/jsonpath/Filter;)Lcom/jayway/jsonpath/JsonPath;
  3. 0

    Upgrade jsonpath dependency to 1.1.0

    GitHub | 3 years ago | ceefour
    java.lang.NoSuchMethodError: com.jayway.jsonpath.JsonPath.compile(Ljava/lang/String;[Lcom/jayway/jsonpath/Filter;)Lcom/jayway/jsonpath/JsonPath;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    3 unregistered visitors

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      com.jayway.jsonpath.JsonPath.compile(Ljava/lang/String;[Lcom/jayway/jsonpath/Filter;)Lcom/jayway/jsonpath/JsonPath;

      at org.springframework.test.util.JsonPathExpectationsHelper.<init>()
    2. Spring TestContext
      MockMvcResultMatchers.jsonPath
      1. org.springframework.test.util.JsonPathExpectationsHelper.<init>(JsonPathExpectationsHelper.java:53)
      2. org.springframework.test.web.servlet.result.JsonPathResultMatchers.<init>(JsonPathResultMatchers.java:43)
      3. org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath(MockMvcResultMatchers.java:133)
      3 frames
    3. com.name.registration
      ServerConnectionTest.testLogin_Simple
      1. com.name.registration.test.ServerConnectionTest.testLogin_Simple(ServerConnectionTest.java:20)
      1 frame