Use ErrorAttributes#getErrorAttributes(WebRequest, ErrorAttributeOptions)

MSAL

ErrorAttributes#getErrorAttributes(WebRequest, boolean) was deprecated in Spring Boot 2.3.

org.openrewrite.java.spring.boot2.GetErrorAttributes
mod run . --recipe=org.openrewrite.java.spring.boot2.GetErrorAttributes

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.