本文共 413 字,大约阅读时间需要 1 分钟。
前提:我是使用postman发送请求时,报的这个异常
2016-11-02 10:35:50,142 ERROR [http-bio-8080-exec-1] [com.confucian.framework.web.exception.ExceptionControllerAdvice:143] -
这是我要访问的请求所对应的controller
@RequestMapping(path = "/register", method = RequestMethod.POST) public Object register(@RequestBody StudentRegisterBean registerInfo, HttpServletRequest request, HttpServletResponse response) {
这是我的postman的界面,原因是因为数据传输格式选择错误。