Spring boot @ExceptionHandler 自定义异常拦截,并确认该返回视图还是json

NoSuchKey