Http status 406 Not Acceptable
来源:互联网 发布:centos安装wget 编辑:程序博客网 时间:2024/06/04 00:57
One:What is this ?
- HTTP response status codes :
client error response code indicates that a response matching the list of acceptable values defined in Accept-Charset and Accept-Language cannot be served.
Two:How to resolve 406 problem when using @ResponseBody return json data ?
anwser :
(1): Missing jar package
(2): jar Conflict with othersif you use Spring 3.x jar,please following me(Maven Repository-Spring 3.x.jar)
# jackson-mapper-asl.jar
#jackson-core-asl.jarif you use Spring 4.x jar,please following me(Maven Repository-Spring 4.x.jar)
# jackson-databind.jar
# jackson-core.jar
# jackson-annotations.jarImportantly, in Spring Configuration file,add
<mvc:annotation-driven />
阅读全文
0 0
- Http status 406 Not Acceptable
- HTTP Status 406 – Not Acceptable
- HTTP - POST 406 Not Acceptable
- HTTP/1.1 406 Not Acceptable
- SpringMVC返回JSON错误: HTTP Status 406 -- not acceptable according to the request "accept" headers
- Spring MVC 报错:Response Status: 406 (Not Acceptable)
- the server responded with a status of 406 (Not Acceptable)
- javax.ws.rs.NotAcceptableException: HTTP 406 Not Acceptable
- 406 Not Acceptable
- Restful 406 Not Acceptable
- 406 Not Acceptable
- 406 Not Acceptable
- 前台406 (Not Acceptable)
- 406 Not Acceptable
- 406 Not Acceptable
- Failed to load resource: the server responded with a status of 406 (Not Acceptable)
- SprimgMVC:Failed to load resource: the server responded with a status of 406 (Not Acceptable)
- http错误:Could not find acceptable representation
- 文章标题
- c++ 异常学习(一)
- 合并两个有序单链表(Java)
- hadoop搭建之ssh:connect to host XXXX port 22:Connection timed out!【问题】
- JS中的双等号(==)比较机制!
- Http status 406 Not Acceptable
- 7.Java多线程(一)
- Android开发关于必须正式签名才能让获取信息如何debug
- LightOJ
- 2017.10.22 LeetCode
- 谷歌浏览器好用的插件
- 经典进程同步问题-生产者消费者问题
- day06-grep及正则表达式
- 查询+正序+增加