spring-guides / tut-rest

Building REST services with Spring :: Learn how to easily build RESTful services with Spring

Home Page:https://spring.io/guides/tutorials/rest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unable to proceed when adding links in one method of EmployeeController class

shashankSkydale opened this issue · comments

methodOn is giving error in STS IDE so unable to proceed REST Tutorial, please provide guidance/assistance
Below screenshot attached for reference.

image

Closing this issue since problem is resolved by adding below static import

  • import static org.springframework.hateoas.server.mvc.WebMvcLinkBuilder.*;