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
Add this annotation in main java file
@EnableAutoConfiguration(exclude=DataSourceAutoConfiguration.class)