See https://github.com/spring-projects/spring-boot/issues/37835#issuecomment-1773323233 and subsequent comments for details.