{"action":"opened","issue":{"url":"https://api.github.com/repos/g00glen00b/spring-examples/issues/1","repository_url":"https://api.github.com/repos/g00glen00b/spring-examples","labels_url":"https://api.github.com/repos/g00glen00b/spring-examples/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/g00glen00b/spring-examples/issues/1/comments","events_url":"https://api.github.com/repos/g00glen00b/spring-examples/issues/1/events","html_url":"https://github.com/g00glen00b/spring-examples/issues/1","id":189974093,"number":1,"title":"the MethodArgumentNotValidException is error","user":{"login":"zziahui","id":3282248,"avatar_url":"https://avatars.githubusercontent.com/u/3282248?v=3","gravatar_id":"","url":"https://api.github.com/users/zziahui","html_url":"https://github.com/zziahui","followers_url":"https://api.github.com/users/zziahui/followers","following_url":"https://api.github.com/users/zziahui/following{/other_user}","gists_url":"https://api.github.com/users/zziahui/gists{/gist_id}","starred_url":"https://api.github.com/users/zziahui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zziahui/subscriptions","organizations_url":"https://api.github.com/users/zziahui/orgs","repos_url":"https://api.github.com/users/zziahui/repos","events_url":"https://api.github.com/users/zziahui/events{/privacy}","received_events_url":"https://api.github.com/users/zziahui/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-17T08:26:55Z","updated_at":"2016-11-17T08:26:55Z","closed_at":null,"body":".\r\n.\r\n.\r\n@ExceptionHandler(MethodArgumentNotValidException.class)\r\n  @ResponseStatus(HttpStatus.BAD_REQUEST)\r\n  @ResponseBody\r\n  public MessageDTO processValidationError(MethodArgumentNotValidException ex) {\r\n    BindingResult result = ex.getBindingResult();\r\n    FieldError error = result.getFieldError();\r\n\r\n    return processFieldError(error);\r\n  }\r\n.....\r\nMethodArgumentNotValidException should be BindException\r\n\r\n"}}
{"actor":{"display_login":"zziahui"}}