Strange Jackson exception being thrown when serializing Hibernate object

前端 未结 15 2781
离开以前
离开以前 2020-11-29 18:12

Jackson is throwing a weird exception that I don\'t know how to fix. I\'m using Spring, Hibernate and Jackson.

I have already considered that lazy-loading is causing

15条回答
  •  误落风尘
    2020-11-29 19:00

    I got the same issue, salutations are here

    Avoid Jackson serialization on non fetched lazy objects

    http://blog.pastelstudios.com/2012/03/12/spring-3-1-hibernate-4-jackson-module-hibernate/

    https://github.com/nessonqk/jackson-datatype-hibernate

提交回复
热议问题