I'm studying spring building an API using spring-boot,mongodb,lombok, mongock... this project.
When putting HATEOAS I had problems, I noticed that it was related the moment I inherit the RepresentationModel<T> class
.
Looks like the error is here:
[org/springframework/boot/autoconfigure/data/mongo/MongoDataConfiguration.class]: Invocation of init method failed; nested exception is java.lang.reflect.InaccessibleObjectException: Unable to make protected