-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spring Boot 3.2.0 new warning about DelegatingWsConfiguration is not eligible for getting processed by all BeanPostProcessors
#1391
Comments
This message was info level in 3.1.x but now after 3.2.x is a warning - you can check the changes from here. Auto-proxying is a mechanism in Spring AOP where Spring automatically creates proxy objects around your beans to add additional behavior, such as method interception for applying cross-cutting concerns like security, logging, etc. The message indicates that the bean @Bean
public DelegatingWsConfiguration delegatingWsConfiguration() {
return new DelegatingWsConfiguration();
} the warning disappears. Please don't take this as a solution @josephearl because it depends on what |
Hi @nikolay-hr , I have this same issue but i'm not able to find the class DelegatingWsConfiguration in my project. I think this is a springboot class and i cannot add the @bean annotation. Where did you put that code snippet you provided? |
Hi @Nestoter The parent of spring-boot-starter-web-services with spring-boot 3.2.2 is <parent>
<groupId>org.springframework.ws</groupId>
<artifactId>spring-ws</artifactId>
<version>4.0.8</version>
</parent> You can find the source here - spring-ws-core |
Hello |
Same question here, this warning still comes with Java 21, spring boot 3.2.5 and spring-ws 4.0.10 |
I don't think this issue should have been closed. The warning message identifies that the cause of the problem is the
This bean is declared in Spring WS's Lines 104 to 113 in 5e73b4c
As the warning describes, it's a
|
I don't think the issue should be closed, but the problem is more complicated than it sounds in #1391 (comment) above. The method Any solution will most likely require a breaking change. |
Hi @nikolay-hr, could you elaborate on why your solution shouldn't be used? Is it because of a concern that you have or is it because it may not work? You mentioned that it depends on what |
Hi @leventunver. Defining a DelegatingWsConfiguration as a bean can help eliminate BeanPostProcessor warning, but it could not work in the future. Also applyBeanPostProcessorsAfterInitialization is deprecated since 6.1 and as you can see this is the entry point of where postProcessAfterInitialization is called. |
Why was this ticket closed? The warning is still present in Spring Boot 3.3.5. |
After upgrading to Spring Boot 3.2.0 our services that use
spring-boot-starter-web-services
now log a new warning on startup:logger_name:
org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
level:
WARN
The text was updated successfully, but these errors were encountered: