前端VUE访问后端接口获取列表数据报序列化错误,具体错误
前端访问接口报错截图
后端响应信息
2021-08-07 13:33:10,832 WARN --- [http-nio-8741-exec-4] o.s.w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON: write javaBean error, fastjson version 1.2.54, class org.springframework.data.domain.PageImpl, fieldName : data; nested exception is com.alibaba.fastjson.JSONException: write javaBean error, fastjson version 1.2.54, class org.springframework.data.domain.PageImpl, fieldName : data]