Skip to content

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

Open
@eugeniudedin

Description

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.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions