Springboot报错
2023-08-01 22:34:15.339 WARN 14904 --- [nio-8080-exec-1] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representation]
源代码
报错原因:ResponseInfo类没有加@data注解
修改