I am trying to connect mongodb with spring boot. I want to configure using AbstractMongoClientConfiguration, MongoConfigurationSupport abstract classes and MongoClient class and use MongoTemplate, MongoRepository and MongoClient. I am confused when to use which maven dependency amongst the following:
Can someone please help?
Try this, according to Baeldung tutorial https://www.baeldung.com/spring-data-mongodb-tutorial
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-mongodb</artifactId>
<version>3.0.3.RELEASE</version>
</dependency>