mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-28 04:59:10 +00:00
This commit makes sure that the condition that links a `MongoClient` to the embedded mongo server kicks in only if `MongoClientFactoryBean` is also on the classpath. Previously, only a condition on the mongo driver existed, leading to `ClassNotFoundException` if Spring Data MongoDB wasn't available. See gh-6203