Loading...
Share Question
MenuSpringBoot doesn't load bean (GlobalMethodSecurityConfiguration) Err: not eligible for getting processed by all BeanPostProcessors
We have SpringBoot based RestAPI for our backend
Intermittently, we see that our custom bean GlobalMethodSecurityConfiguration does not load. We see the below log message during spring startup.
We have added @Lazy annotation, but still it does not load always. More often than not, it fails.
We got lucky once, when we added a log.debug statement in the bean, and we are currently using that Jar. However, we want to fix this intermittent problem so our future builds are good, and we aren't leaving it to chance.
31-01-2022 18:41:59.339 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean…
Filed under:
Spring Security:
Spring, Java
Question URL
the startups.com platform
Copyright © 2025 Startups.com. All rights reserved.