Spring boot batch & MongoDB
Spring boot batch is too opinionated out of the box to gel well with mongodb, it ads the sql focussed jpa and jdbc dependenties.
Excluding it will at least make your application run again, I haven't tested batching yet in this context.
Excluding it will at least make your application run again, I haven't tested batching yet in this context.
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-batch</artifactId> <exclusions> <exclusion> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactId> </exclusion> </exclusions></dependency>
Comments
Post a Comment