To automatically serve static resources with Spring Boot (e.g. when using spring-boot-starter-web), you can simply place the static resources in one of several paths that Spring Boot automatically recognizes as a static file paths. Following are paths that will are recognized as static file paths: src/main/resources/META-INF/resources/index.html src/main/resources/resources/index.html src/main/resources/static/index.html src/main/resources/public/index.html You can then access the resources at: […]

Logging with Spring Boot is dead simple. Everything’s pretty much setup and ready to go. In this post, I provide some quick and simple tips to get your Spring Boot logs rolling. About Logging Dependencies If you use the ‘Starters’, Logback will be used with appropriate routing included to ensure that dependent libraries that use […]