JAX-RS 如何傳輸 JSON 格式的數據 ?

如果指定客戶端要獲取 json 內容 錯誤:Caused by: javax.ws.rs.ProcessingException: No message body writer has been found for class cn.itcast.cxf.domain.User, ContentType: application/json 解決: 在項目引入 json 轉換器
相關文章
相關標籤/搜索