-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Client Side Encryption
Hi,
When using mongodb CSFLE using java driver, the class
com.mongodb.client.vault.ClientEncryption
fails to instantiate with the following error:
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.mongodb.crypt.capi.CAPI
at com.mongodb.crypt.capi.MongoCryptImpl.<init>(MongoCryptImpl.java:98) ~[mongodb-crypt-1.3.0.jar:?]
at com.mongodb.crypt.capi.MongoCrypts.create(MongoCrypts.java:36) ~[mongodb-crypt-1.3.0.jar:?]
at com.mongodb.client.internal.Crypts.create(Crypts.java:45) ~[mongodb-driver-sync-4.1.2.jar:?]
at com.mongodb.client.internal.ClientEncryptionImpl.<init>(ClientEncryptionImpl.java:40) ~[mongodb-driver-sync-4.1.2.jar:?]
at com.mongodb.client.vault.ClientEncryptions.create(ClientEncryptions.java:36) ~[mongodb-driver-sync-4.1.2.jar:?]
The issue only happens on Apple M1.
- depends on
-
MONGOCRYPT-372 Package Apple M1 support as Universal Binary
- Closed
- duplicates
-
JAVA-4445 Update Java bindings for client side encryption to support M1 processor
- Closed