java错误:Cannot call sendError() after the response has been committed

在json里返回null会报这个错误:Cannot call sendError() after the response has been committed

java错误:Cannot call sendError() after the response has been committed

也有可能是其他问题导致,替换成双引号就ok了。