Получение ошибки ниже после добавления @EnableTask
в приложении Spring Batch
The bean 'transactionManager', defined in class path resource [org/springframework/batch/core/configuration/annotation/SimpleBatchConfiguration.class], could not be registered. A bean with that name has already been defined in org.springframework.cloud.task.configuration.SimpleTaskConfiguration and overriding is disabled.