I am trying to adapt the REST Controller example on the Spring Boot website.
Unfortunately I\'ve got the following error when I am trying to access the localhost:8080/
SpringBoot developers recommend to locate your main application class in a root package above other classes. Using a root package also allows the @ComponentScan annotation to be used without needing to specify a basePackage attribute. Detailed info
But be sure that the custom root package exists.