No serializer found for class org.hibernate.proxy.pojo.bytebuddy.ByteBuddyInterceptor

后端 未结 8 1796
野的像风
野的像风 2020-12-04 15:15

When i try to navigat to an endpoint i get tho following error

Type definition error: [simple type, class org.hibernate.proxy.pojo.bytebuddy.ByteBuddy

8条回答
  •  悲&欢浪女
    2020-12-04 15:57

    I also faced with this problem. @Szelek's answer helped me. But I did it with another way. Changed getOne() method to:

    repository.findById(id).orElse(null)
    

提交回复
热议问题