As mentioned in https://github.com/spring-projects/spring-boot/issues/33482 , I have updated the run example from the documentation.
Comment From: scottfrederick
Thanks very much for the contribution. We have an existing PR #33519 that addresses this issue that we have not merged yet.