Resource and ControllerLinkBuilder not found and deprecated
Resource
was replaced by EntityModel
, and ControllerLinkBuilder
was replaced by WebMvcLinkBuilder
The most fundamental change is the fact that Spring HATEOAS doesn’t create resources. That’s what Spring MVC/Spring WebFlux does. We create vendor neutral representations of hypermedia. So we renamed those core types:
LINK- https://spring.io/blog/2019/03/05/spring-hateoas-1-0-m1-released#overhaul
- ResourceSupport is now RepresentationModel
- Resource is now EntityModel
- Resources is now CollectionModel
- PagedResources is now PagedModel