The spring documentation for creating an application with Spring Boot, see link _https://spring.io/guides/gs/serving-web-content/#_add_a_home_page_
is pointing to a wrong path for creating the index.html file. It should be created under
src/main/resources/static/index.html
instead of
src/main/resources/index.html
The spring documentation for creating an application with Spring Boot, see link _https://spring.io/guides/gs/serving-web-content/#_add_a_home_page_ is pointing to a wrong path for creating the index.html file. It should be created under src/main/resources/static/index.html instead of src/main/resources/index.html