flowable-mongodb icon indicating copy to clipboard operation
flowable-mongodb copied to clipboard

Unable to connect to mongodb using reactive mongo DB drivers

Open hitesh0387 opened this issue 3 years ago • 0 comments

Hi, I am unable to connect to set up flowable with mongo DB using reactive mongo driver. I have org.springframework.boot:spring-boot-starter-data-mongodb-reactive dependency in my gradle file but I still need to add org.mongodb:mongo-java-driver:3.12.11 dependency which eventually results in the below error.

I get the below error:

An attempt was made to call a method that does not exist. The attempt was made from the following location:

com.mongodb.reactivestreams.client.MongoClients.createCluster(MongoClients.java:151)

The following method did not exist:

'com.mongodb.ServerApi com.mongodb.MongoClientSettings.getServerApi()'

The calling method's class, com.mongodb.reactivestreams.client.MongoClients, was loaded from the following location:

jar:file:/C:/gradle-7.4.2/caches/modules-2/files-2.1/org.mongodb/mongodb-driver-reactivestreams/4.6.1/cfbafbf85759e5f8036b8e724d44b4add95910e0/mongodb-driver-reactivestreams-4.6.1.jar!/com/mongodb/reactivestreams/client/MongoClients.class

hitesh0387 avatar Nov 14 '22 14:11 hitesh0387