-
Type: Task
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: API, Change Streams
-
None
-
Environment:Ubuntu , Java 1.8 , Maven
I'm trying to initialize the client with this code:
Exception in thread "main" java.lang.NoSuchMethodError: com.mongodb.MongoClientSettings.getAutoEncryptionSettings()Lcom/mongodb/AutoEncryptionSettings;Exception in thread "main" java.lang.NoSuchMethodError: com.mongodb.MongoClientSettings.getAutoEncryptionSettings()Lcom/mongodb/AutoEncryptionSettings; at com.mongodb.async.client.MongoClientSettings.getAutoEncryptionSettings(MongoClientSettings.java:731) at com.mongodb.async.client.MongoClientImpl.<init>(MongoClientImpl.java:70) at com.mongodb.async.client.MongoClientImpl.<init>(MongoClientImpl.java:57) at com.mongodb.async.client.MongoClients.createMongoClient(MongoClients.java:191) at com.mongodb.async.client.MongoClients.createWithAsynchronousSocketChannel(MongoClients.java:265) at com.mongodb.async.client.MongoClients.create(MongoClients.java:177) at com.mongodb.async.client.MongoClients.create(MongoClients.java:136) at com.mongodb.reactivestreams.client.MongoClients.create(MongoClients.java:86) at com.mongodb.reactivestreams.client.MongoClients.create(MongoClients.java:72) at com.phenom.search.changestreams.ChangeStreamSamples.main(ChangeStreamSamples.java:36)