Description

In the Spring Boot Reference documentation, the Graceful Shutdown page contains a Tip section with three links to API documentation for shutDownGracefully. All three currently lead to 404 Not Found pages.

This appears to be caused by outdated package paths (embedded/tomcat, embedded/netty, embedded/jetty) that no longer exist in Spring Boot 4.x.

For reference, the links are correct in the 3.5.8 documentation: https://docs.spring.io/spring-boot/3.5/reference/web/graceful-shutdown.html#web.graceful-shutdown.rejecting-requests-during-the-grace-period

Location

  • Document: Spring Boot Reference Guide

  • Page: Graceful Shutdown

  • Section: Rejecting requests during the grace period

  • URL: https://docs.spring.io/spring-boot/reference/web/graceful-shutdown.html#web.graceful-shutdown.rejecting-requests-during-the-grace-period

Original text (broken links)

To learn more about the specific method used with your web server, see the shutDownGracefully API documentation for TomcatWebServer.shutDownGracefully(GracefulShutdownCallback), NettyWebServer.shutDownGracefully(GracefulShutdownCallback), or JettyWebServer.shutDownGracefully(GracefulShutdownCallback).

Suggested text

To learn more about the specific method used with your web server, see the shutDownGracefully API documentation for TomcatWebServer.shutDownGracefully(GracefulShutdownCallback), NettyWebServer.shutDownGracefully(GracefulShutdownCallback), or JettyWebServer.shutDownGracefully(GracefulShutdownCallback).