spring返回@ResponseBody报406
2016-02-25 12:18
288 查看
HTTP Status 406 -
type Status report
message
description The resource identified by this request is only capable of generating responses with characteristics not acceptable according to the request "accept" headers.
Apache Tomcat/6.0.41
解决方法:
<mvc:annotation-driven />
type Status report
message
description The resource identified by this request is only capable of generating responses with characteristics not acceptable according to the request "accept" headers.
Apache Tomcat/6.0.41
解决方法:
<mvc:annotation-driven />
相关文章推荐
- Java基础
- 处理Java异常三原则(必备)
- java多线程-Java中的Copy-On-Write容器
- Java数组操作的10大方法
- Java中的堆和栈的区别
- Java接口回调机制详解
- 单例模式
- 你真的知道Java中boolean类型占用多少个字节吗?
- Java开发者值得关注的7款工具
- 11 款用于优化、分析源代码的Java工具
- Java 8无人谈及的八大功能
- Java WebSockets
- java 启动线程的两种方式
- 10种简单的Java性能优化
- Java连接Elasticsearch集群
- javaAio例子
- Java不同压缩算法的性能比较
- eclipse 汉化教程(中文语言包的下载和安装)
- 使用 Java8 实现观察者模式的方法(下)
- Java修饰符关键词大全