spring mvc 415 error

Use angular to send a request to the background, and return a 415 error. After
searching for a long time, the Content-Type of the front-end request is already application/json, and
finally found that the reason is that there is a problem with the set method of the boolean type in the received VO
. In addition, it is recommended to use Boolean in the VO, which can receive null

Guess you like

Origin blog.csdn.net/yujiayinshi/article/details/50238977