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
I had the same error message from spring's @RestController. My rest controller class was using spring's JpaRepository class and by replacing repository.getOne(id) method call with repository.findOne(id) problem was gone.
@RestController
JpaRepository
repository.getOne(id)
repository.findOne(id)