使用produces = "text/html;charset=utf-8",出现406错误
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.
解决办法:不使用:produces = "text/html;charset=utf-8"