Close GH-43357

Comment From: wilkinsona

Thanks for the PR but this change is incorrect. Please see https://github.com/spring-projects/spring-boot/issues/43357#issuecomment-2514012621 for details.

Comment From: quaff

Thanks for the PR but this change is incorrect. Please see #43357 (comment) for details.

It's better to revise the exception message, it's confusing currently.

Comment From: philwebb

@quaff I've reopened https://github.com/spring-projects/spring-boot/issues/43357 to consider what we can do