Skip to content

After migrating to spring boot 3.1.2 application failed to start #36481

@paweleg

Description

@paweleg

Hi!
I have some problem after migrating to spring boot 3.1.2. On 3.1.1 application was started.

***************************
APPLICATION FAILED TO START
***************************

Description:

The bean 'preFilterAuthorizationAdvisor', defined in class path resource [org/springframework/security/config/annotation/method/configuration/PrePostMethodSecurityConfiguration.class], could not be registered. A bean with that name has already been defined in class path resource [org/springframework/security/config/annotation/method/configuration/PrePostMethodSecurityConfiguration.class] and overriding is disabled.

Action:

Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true

Regards,
PG

Metadata

Metadata

Assignees

Labels

for: external-projectFor an external project and not something we can fixstatus: invalidAn issue that we don't feel is valid

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions