解決方法,在實體類上加註解
@JsonIgnoreProperties(value = {"handler"})
或者在<collection>中加入
fetchType="eager"
解決方法,在實體類上加註解
@JsonIgnoreProperties(value = {"handler"})
或者在<collection>中加入
fetchType="eager"
https://www.bilibili.com/video/BV1k8411575T/?vd_source=d68ed178f151e80fea1e02efd205802c