我用的Spring版本为4.2.5 当配置文件中加了<mvc:annotation-driven/>后, 如果用@ResponseBody 返回JSON时, 会报406错误, 信息如下: The resource identified by this request is only capable of generating responses with characteristics not acceptable according to the request "accept" headers. …