From 9aa751a949bdcaf466260a3943d3254683cb9079 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Mon, 12 Feb 2018 14:03:43 +0100 Subject: [PATCH] Make an explicit link to MongoDataAutoConfiguration Closes gh-12001 --- .../data/mongo/MongoReactiveDataAutoConfiguration.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/mongo/MongoReactiveDataAutoConfiguration.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/mongo/MongoReactiveDataAutoConfiguration.java index 0eb48286cd..6642b758c3 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/mongo/MongoReactiveDataAutoConfiguration.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/mongo/MongoReactiveDataAutoConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -48,7 +48,7 @@ import org.springframework.data.mongodb.core.convert.MongoConverter; @Configuration @ConditionalOnClass({ MongoClient.class, ReactiveMongoTemplate.class }) @EnableConfigurationProperties(MongoProperties.class) -@AutoConfigureAfter(MongoReactiveAutoConfiguration.class) +@AutoConfigureAfter({ MongoReactiveAutoConfiguration.class, MongoDataAutoConfiguration.class }) public class MongoReactiveDataAutoConfiguration { private final MongoProperties properties;