Replace WebMvcConfigurerAdapter with WebMvcConfigurer
MSALAs of 5.0 WebMvcConfigurer has default methods (made possible by a Java 8 baseline) and can be implemented directly without the need for this adapter.
org. openrewrite. java. spring. framework. MigrateWebMvcConfigurerAdaptermod run . --recipe= org. openrewrite. java. spring. framework. MigrateWebMvcConfigurerAdapterInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.