瀏覽器報406錯誤 not acceptable

description The resource identified by this request is only capable of generating responses with characteristics not acceptable according to the request "accept" headers.

由於接受的格式不對,我網上看了一些解答,說是spring和字集的問題


檢查代碼突然發現 自己在寫produces="application/json",將json寫成josn,導致瀏覽器解析不出來


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章