2018-06-07 .w.s.m.s.DefaultHandlerExceptionResolver : Failed to read HTTP message: org.springfram...

Bean没有construct,加上空的构造器就好了

2018-06-07 10:07:18.001 WARN 9168 --- [io-10301-exec-1] .w.s.m.s.DefaultHandlerExceptionResolver : Failed to read HTTP message: org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Can not construct instance of cc.adaoz.bean.RequestBean: no suitable constructor found, can not deserialize from Object value (missing default constructor or creator, or perhaps need to add/enable type information?); nested exception is com.fasterxml.jackson.databind.JsonMappingException: Can not construct instance of cc.adaoz.bean.RequestBean: no suitable constructor found, can not deserialize from Object value (missing default constructor or creator, or perhaps need to add/enable type information?)
at [Source: java.io.PushbackInputStream@23db6440; line: 1, column: 2]

你可能感兴趣的:(2018-06-07 .w.s.m.s.DefaultHandlerExceptionResolver : Failed to read HTTP message: org.springfram...)