Unable to find a MessageBodyReader of content-type application/json and type class java.lang.String

前端 未结 8 662
野的像风
野的像风 2020-12-01 18:20

I am using RestEasy client with jackson providers and getting the above error

clientside code is:

ClientRequest request = new ClientRequest(url);
re         


        
8条回答
  •  一整个雨季
    2020-12-01 18:39

    You could try to add the following dependency to your maven pom.

       
        org.jboss.resteasy
        resteasy-jackson-provider
        2.3.4.Final
       
    

提交回复
热议问题