浏览器报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,导致浏览器解析不出来


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