Seems to be an incomplete fix to https://github.com/spring-projects/spring-framework/issues/33030.
Workaround is to use proxyBeanMethods = false .
@Configuration
public class LoggingConfiguration {
public LoggingConfiguration(@Value("${spring.application.name}") String appName, @Value("${server.port}") String serverPort) {}
}
Comment From: snicoll
Thanks for the report. I believe this is a side effect of https://github.com/spring-projects/spring-framework/issues/32834