No message body writer found : JSON : Apache CXF : RestFul Webservices

前端 未结 6 1883
春和景丽
春和景丽 2021-01-13 06:20

I am using Apache CXF for making a simple restful application. I have a client class which posts a JSON object to the server and server returns back a JSON after some manipu

6条回答
  •  孤街浪徒
    2021-01-13 07:16

    A different approach: I found that when I changed my "Accept" request header from "application/json" to "/" then I no longer received the "No message body writer found" error message.

提交回复
热议问题