Annotation @SpringBootApplication is described like it was contained in the code while it isn't. https://spring.io/guides/gs/rest-service/