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
Hmm are you traying to send entities from one instance of the jvm to another one which need to serialize them? if this is the case i think the error is because you fetched the entities somehow and hibernate is using its not serializable classes, you need to convert entities to pojo's (i mean use native types or objects that are serializables).
Changing from MyEntityClassRepositorie.getOne(id) to MyEntityClassRepositorie.findById(id).get() work fine for me