Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-17707

ClassCastException with com.mongodb.client.MongoClient

    XMLWordPrintable

Details

    • Bug
    • Status: Done
    • Major
    • Resolution: Done
    • None
    • fuse-7.10-GA
    • Fuse EAP
    • None
    • False
    • False
    • % %
    • Todo

    Description

      [ERROR] Errors: 
      [ERROR]   MongoDBIntegrationTest.testMongo3FindAll:182 ยป FailedToCreateRoute 
      ...
      Caused by: java.lang.ClassCastException: Cannot cast com.mongodb.MongoClient to com.mongodb.client.MongoClient
      	at java.base/java.lang.Class.cast(Class.java:3605)
      	at org.apache.camel.core@2.23.2.fuse-7_10_0-00015//org.apache.camel.impl.JndiRegistry.lookupByNameAndType(JndiRegistry.java:76)
      	... 189 more
      

      Attachments

        Activity

          People

            tdiesler@redhat.com Thomas Diesler
            tdiesler@redhat.com Thomas Diesler
            Branislav Smolicek Branislav Smolicek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: