I am working on a Spring Boot Batch example with MongoDB and I have already started the mongod server.
mongod
When I launch my application, I
I have add this annotation on the main class of my spring boot application and everything work perfectly
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class })