'I cannot find "SimpleIdentifiableRepresentationModelAssembler" in Spring Hateos dependency

I am trying to add (by extending my class) SimpleIdentifiableRepresentationModelAssembler in my project and it seems even importing the hateos starter dependency in my build.gradle it still cannot find the class.

build.gradle :

    implementation group: 'org.springframework.boot', name: 'spring-boot-starter-hateoas', version: '2.6.4'
}

StudentEmployeeRepresentationModelAssembler.class


public class StudentEmployeeRepresentationModelAssembler extends
        SimpleIdentifiableRepresentationModelAssembler{
}

Is the class depracated or something?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source