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/8.0.36 老师,这个怎么解?
遇到一样的问题,求帮忙解答
Operate 忘了getter/setter方法
这是controller代码
@RequestMapping(value = "/{a}/pu", method = RequestMethod.GET, produces = {"application/json;charset=UTF-8"}) @ResponseBody public Operate pu(@PathVariable("a") String a){ Operate operate = new Operate(true,a,0001); return operate; }