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

  1. ResourceSupport is now RepresentationModel
  2. Resource is now EntityModel
  3. Resources is now CollectionModel
  4. PagedResources is now PagedModel