isto
Object of class [org.springframework.http.ResponseEntity] must be an instance of interface org.springframework.hateoas.core.DummyInvocationUtils$LastInvocationAware