I have seen an Spring Boot web starter example on the web that includes the starter just to employ Restcontroller annotation, but I am doing the small poc and I can see that I do not need it...I am missing something or adding the starter was indeed an overkill in this example that I saw?
Asked
Active
Viewed 58 times
1 Answers
0
In order to use @RestController
in your PoC, you must include spring-boot-starter-web
artifact into the classpath.

Kumaresh Babu N S
- 1,648
- 5
- 23
- 39