top of page

Parmita Group

Elijah Hall
Elijah Hall

Psme Code Pdf 126 ##VERIFIED##

What happens under the covers is that MappingJackson2HttpMessageConverter swallows any exceptions that occur in its canRead() method, which is supposed to auto-detect whether the payload is suitable for json decoding. The exception is replaced by a simple boolean return that basically communicates sorry, I don't know how to decode this message to the higher level APIs (RestClient). Only after all other converters' canRead() methods return false, the no suitable HttpMessageConverter found exception is thrown by the higher-level API, totally obscuring the true problem.

psme code pdf 126

I was having a very similar problem, and it turned out to be quite simple; my client wasn't including a Jackson dependency, even though the code all compiled correctly, the auto-magic converters for JSON weren't being included. See this RestTemplate-related solution. 350c69d7ab


Welcome to the group! You can connect with other members, ge...


  • Amar Singh
  • R
  • bucher bestseller
    bucher bestseller
  • Jonah Stribling
    Jonah Stribling
  • Deepak Kashyap
    Deepak Kashyap
bottom of page