This is a Spring Boot lesson from open source: a small bug, a small fix, and a mistake of my own that taught me something about Git.

The bug

Logbook has a Spring Boot starter that sets everything up automatically. One of the things it registered was a LogbookClientHttpRequestInterceptor bean, every time.

That interceptor depends on a class from spring-web. So if your app used logbook-spring-boot-starter with another HTTP client (OkHttp or Apache HttpClient, for example) and did not have spring-web on the classpath, the app crashed at startup: