Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to connect to mongodb using reactive mongo DB drivers #5

Open
hitesh0387 opened this issue Nov 14, 2022 · 0 comments
Open

Unable to connect to mongodb using reactive mongo DB drivers #5

hitesh0387 opened this issue Nov 14, 2022 · 0 comments

Comments

@hitesh0387
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant