It was removed in spring boot 4 https://github.com/spring-projects/spring-boot/commit/8bfb170ebc5c5afcc3c707a145b94fde1a0151d8