|
Hi, I cannot tell for sure (as you haven't posted your full stacktrace) but I believe this error to be caused by Jackson trying to JSON-ify internal stuff of the proxied entity. You can ignore these properties by adding the following to your entity:
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
Doing so allows to me to successfully serialize the result class into JSON. Can you try the same and let me know whether that solves the issue? If so, we can resolve it as "Won't fix".
|