Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-3723

java.lang.NoSuchMethodError when using reactive stream driver

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: API, Change Streams
    • Labels:
      None
    • Environment:
      Ubuntu , Java 1.8 , Maven

      Description

      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)

       

       

       

       

        Attachments

          Activity

            People

            Assignee:
            jeff.yemin Jeffrey Yemin
            Reporter:
            manojkumar.julakanti@phenompeople.com Manoj Kumar Julakanti
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: