Skip to content

Default TaskExecutor is missing after update to 3.5.0 #45708

@mavarazo

Description

@mavarazo

For a project with async and security a DelegatingSecurityContextAsyncTaskExecutor is required. With the update to v3.5.0 the default TaskExecutor is missing.

Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.core.task.AsyncTaskExecutor' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Qualifier("taskExecutor")}

Just made a mcve to show the issue: https://github.com/mavarazo/mcve-spring-boot-async-configurer
Downgrade in the mcve to 3.4.4 and the only existing test works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: declinedA suggestion or change that we don't feel we should currently apply

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions