报错1

Resolved [org.springframework.http.converter.HttpMessageNotWritableException: No converter for [class cn.meowrain.pojo.User] with preset Content-Type ‘null’]

解决办法

返回json必须要pojo对象有getter方法

https://blog.csdn.net/jiaohuizhuang6019/article/details/130068327