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

Broken Dependencies with apoc.mongo #4054

Open
afoley587 opened this issue Apr 21, 2024 · 1 comment
Open

Broken Dependencies with apoc.mongo #4054

afoley587 opened this issue Apr 21, 2024 · 1 comment

Comments

@afoley587
Copy link

Guidelines

Please note that GitHub issues are only meant for bug reports/feature requests. If you have questions on how to use APOC, please ask on the Neo4j Discussion Forum instead of creating an issue here.

Expected Behavior (Mandatory)

The following APOC procedures fail with dependency issues:

call apoc.mongo.count('mongodb://user:pass@mongo:27017/database.collection?authSource=admin', {}) yield value return value

results in

Failed to invoke procedure `apoc.mongo.count`: Caused by: java.lang.ClassNotFoundException: com.mongodb.client.MongoClients

Actual Behavior (Mandatory)

I would expect this to return the count of documents, but it seems that possibly the mongoDB driver wasn't updated appropriately.

How to Reproduce the Problem

Simple Dataset (where it's possibile)

//Insert here a set of Cypher statements that helps us to reproduce the problem

Steps (Mandatory)

  1. I installed Neo4j via docker and installed the plugins required:
$ ls
apoc-5.19.0-core.jar                            apoc-5.19.0-extended.jar                        apoc-mongodb-dependencies-5.19.0-all.jar
  1. I think ran the above APOC procedure:
call apoc.mongo.count('mongodb://user:pass@mongo:27017/database.collection?authSource=admin', {}) yield value return value

Screenshots (where it's possibile)

Screenshot 2024-04-21 at 9 39 11 AM

Specifications (Mandatory)

Currently used versions

Versions

  • OS: Darwin ARM64 (Docker)
  • Neo4j: 15.19-community (Docker)
  • Neo4j-Apoc: 5.19.0
@onthemarq
Copy link

Also facing the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

3 participants