javax.ws.rs.client.ResponseProcessingException: com.fasterxml.jackson.databind.JsonMappingException: Can not find a deserializer for non-concrete Map type [map type; class javax.ws.rs.core.MultivaluedMap, [simple type, class java.lang.String] -> [collection type; class java.util.List, contains [simple type, class java.lang.Object]]]

Stack Overflow | Elad Benda2 | 7 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

    how come `.readEntity(MyObj.class)` fails while `objectMapper.readValue(str, MyObj.class);` works

    Stack Overflow | 7 months ago | Elad Benda2
    javax.ws.rs.client.ResponseProcessingException: com.fasterxml.jackson.databind.JsonMappingException: Can not find a deserializer for non-concrete Map type [map type; class javax.ws.rs.core.MultivaluedMap, [simple type, class java.lang.String] -> [collection type; class java.util.List, contains [simple type, class java.lang.Object]]]
  2. 0

    JAXRS client - Deserialization Issue with Pojo

    Stack Overflow | 2 years ago | nishiz
    javax.ws.rs.client.ResponseProcessingException: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "user" (class com.example.service.bean.User), not marked as ignorable (4 known properties: "lastName", "firstName", "email", "userID"]) at [Source: org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream@10163d6; line: 1, column: 10] (through reference chain: com.example.service.bean.User["user"])
  3. 0

    Mailgun + Java Cannot Find Deserializer

    Stack Overflow | 1 month ago | user7618449
    javax.ws.rs.client.ResponseProcessingException: com.fasterxml.jackson.databind.JsonMappingException: Can not find a deserializer for non-concrete Map type [map type; class j pe, class java.lang.String] -> [collection type; class java.util.List, contains [simple type, class java.lang.Object]]] 22:19:18 worker.1 | at [Source: org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream@291c3876; line: 1, column: 1]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.ws.rs.client.ResponseProcessingException

      com.fasterxml.jackson.databind.JsonMappingException: Can not find a deserializer for non-concrete Map type [map type; class javax.ws.rs.core.MultivaluedMap, [simple type, class java.lang.String] -> [collection type; class java.util.List, contains [simple type, class java.lang.Object]]]

      at org.glassfish.jersey.client.JerseyInvocation.translate()
    2. jersey-core-client
      JerseyInvocation$2.call
      1. org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:806)
      2. org.glassfish.jersey.client.JerseyInvocation.access$700(JerseyInvocation.java:92)
      3. org.glassfish.jersey.client.JerseyInvocation$2.call(JerseyInvocation.java:700)
      3 frames
    3. Jersey Core
      RequestScope.runInScope
      1. org.glassfish.jersey.internal.Errors.process(Errors.java:315)
      2. org.glassfish.jersey.internal.Errors.process(Errors.java:297)
      3. org.glassfish.jersey.internal.Errors.process(Errors.java:228)
      4. org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444)
      4 frames
    4. jersey-core-client
      JerseyInvocation$Builder.get
      1. org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:696)
      2. org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:420)
      3. org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:316)
      3 frames