-
Notifications
You must be signed in to change notification settings - Fork 41.5k
Closed as not planned
Closed as not planned
Copy link
Labels
status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently apply
Description
After upgrading to Spring Boot 3.4, the application does not start:
(one of my own classes) required a bean of type 'org.springframework.core.task.TaskExecutor' that could not be found.
The reason why this bean is missing and not created by org.springframework.boot.autoconfigure.task.TaskExecutorConfigurations
:
TaskExecutorConfigurations.TaskExecutorConfiguration:
Did not match:
- @ConditionalOnMissingBean (types: java.util.concurrent.Executor; SearchStrategy: all) found beans of type 'java.util.concurrent.Executor' clientInboundChannelExecutor, clientOutboundChannelExecutor, brokerChannelExecutor (OnBeanCondition)
Auto configuration is here:
Lines 46 to 50 in 8964203
class TaskExecutorConfigurations { | |
@Configuration(proxyBeanMethods = false) | |
@ConditionalOnMissingBean(Executor.class) | |
static class TaskExecutorConfiguration { |
One of the existing beans is created here.
Metadata
Metadata
Assignees
Labels
status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently apply