Skip to content
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

Inconsistent constructor declaration on bean with name '_reactiveMethodSecurityConfiguration' #16325

Open
eugeniudedin opened this issue Dec 22, 2024 · 0 comments · May be fixed by #16326
Open
Labels
status: waiting-for-triage An issue we've not yet triaged type: bug A general bug

Comments

@eugeniudedin
Copy link

Describe the bug

I get this warn in my spring boot reactive app:

f.a.AutowiredAnnotationBeanPostProcessor : Inconsistent constructor declaration on bean with name '_reactiveMethodSecurityConfiguration': single autowire-marked constructor flagged as optional - this constructor is effectively required since there is no default constructor to fall back to: org.springframework.security.config.annotation.method.configuration.ReactiveAuthorizationManagerMethodSecurityConfiguration(org.springframework.security.access.expression.method.MethodSecurityExpressionHandler,org.springframework.beans.factory.ObjectProvider,org.springframework.beans.factory.ObjectProvider)

A bean (_reactiveMethodSecurityConfiguration in this case) has a constructor marked with @Autowired, but there is no default (no-arg) constructor available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged type: bug A general bug
Projects
None yet
1 participant