我需要解决的问题是fastjson禁止循环引用。
运行出错如下:
Caused by: java.lang.IllegalStateException: Cannot convert value of type [com.alibaba.fastjson.serializer.SerializerFeature] to required type [org.springframework.http.converter.HttpMessageConverter] for property 'messageConverters[1]': no matching editors or conversion strategy found。
代码和配置文件如下: