无法返回json,HTTP Status 406

来源:4-7 JSON(上)

Simonli

2016-07-04 17:48

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.


写回答 关注

1回答

  • qq_错过_1
    2016-07-09 21:18:35

     没链接吧,检查一下JAR包和,对应的方法名称是否相同吧

Spring MVC起步

Java中Spring MVC框架入门教程,快来看最易用的MVC框架

195979 学习 · 572 问题

查看课程

相似问题