UnsatisfiedDependencyException para la aplicación Spring Boot 2.0.0.M2 utilizando Kotlin

Estoy intentando reescribir la implementación DataConfiguration.java de una aplicación JHipster con Kotlin. El método con el que estoy teniendo problemas es:

 @Bean public SpringLiquibase liquibase(@Qualifier("taskExecutor") TaskExecutor taskExecutor, DataSource dataSource, LiquibaseProperties liquibaseProperties) { // Use liquibase.integration.spring.SpringLiquibase if you don't want Liquibase to start asynchronously SpringLiquibase liquibase = new AsyncSpringLiquibase(taskExecutor, env); liquibase.setDataSource(dataSource); liquibase.setChangeLog("classpath:config/liquibase/master.xml"); liquibase.setContexts(liquibaseProperties.getContexts()); liquibase.setDefaultSchema(liquibaseProperties.getDefaultSchema()); liquibase.setDropFirst(liquibaseProperties.isDropFirst()); if (env.acceptsProfiles(JHipsterConstants.SPRING_PROFILE_NO_LIQUIBASE)) { liquibase.setShouldRun(false); } else { liquibase.setShouldRun(liquibaseProperties.isEnabled()); log.debug("Configuring Liquibase"); } return liquibase; } 

que he reescrito como:

 @Bean fun liquibase(@Qualifier("taskExecutor") taskExecutor: TaskExecutor, dataSource: DataSource, liquibaseProperties: LiquibaseProperties): SpringLiquibase { // Use liquibase.integration.spring.SpringLiquibase if you don't want Liquibase to start asynchronously val liquibase = AsyncSpringLiquibase(taskExecutor, env) liquibase.dataSource = dataSource liquibase.changeLog = "classpath:config/liquibase/master.yml" liquibase.contexts = liquibaseProperties.contexts liquibase.defaultSchema = liquibaseProperties.defaultSchema liquibase.isDropFirst = liquibaseProperties.isDropFirst if (env.acceptsProfiles(SPRING_PROFILE_NO_LIQUIBASE)) { liquibase.setShouldRun(false) } else { liquibase.setShouldRun(liquibaseProperties.isEnabled) log.debug("Configuring Liquibase") } return liquibase } 

Cuando ejecuto la aplicación Spring Boot obtengo la siguiente exception Exception encountenetworking during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'liquibase' defined in class path resource [com/sample/myapplication/config/DatabaseConfiguration.class]: Unsatisfied dependency expressed through method 'liquibase' parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.core.task.TaskExecutor' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {} Exception encountenetworking during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'liquibase' defined in class path resource [com/sample/myapplication/config/DatabaseConfiguration.class]: Unsatisfied dependency expressed through method 'liquibase' parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.core.task.TaskExecutor' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {} Exception encountenetworking during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'liquibase' defined in class path resource [com/sample/myapplication/config/DatabaseConfiguration.class]: Unsatisfied dependency expressed through method 'liquibase' parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.core.task.TaskExecutor' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {} .

¿Alguna idea de lo que me podría estar perdiendo? Estoy usando Gradle para ejecutar la aplicación, y estoy basando mi configuration en una aplicación de service de JHipster sin modificar.

Avíseme si hay algún otro fragment de código que deba proporcionar para que mi pregunta tenga sentido.