java.lang.NoSuchMethodError: org.slf4j.Logger.isTraceEnabled()Z

GitHub | julio-pope | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 6#238797437

    GitHub | 9 months ago | julio-pope
    java.lang.NoSuchMethodError: org.slf4j.Logger.isTraceEnabled()Z

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.slf4j.Logger.isTraceEnabled()Z

      at com.mongodb.diagnostics.logging.SLF4JLogger.isTraceEnabled()
    2. MongoDB Java Driver
      MappingIterable.into
      1. com.mongodb.diagnostics.logging.SLF4JLogger.isTraceEnabled(SLF4JLogger.java:36)
      2. com.mongodb.connection.DefaultConnectionPool.getPooledConnection(DefaultConnectionPool.java:258)
      3. com.mongodb.connection.DefaultConnectionPool.get(DefaultConnectionPool.java:93)
      4. com.mongodb.connection.DefaultConnectionPool.get(DefaultConnectionPool.java:82)
      5. com.mongodb.connection.DefaultServer.getConnection(DefaultServer.java:72)
      6. com.mongodb.binding.ClusterBinding$ClusterBindingConnectionSource.getConnection(ClusterBinding.java:86)
      7. com.mongodb.operation.OperationHelper.withConnectionSource(OperationHelper.java:237)
      8. com.mongodb.operation.OperationHelper.withConnection(OperationHelper.java:212)
      9. com.mongodb.operation.ListDatabasesOperation.execute(ListDatabasesOperation.java:101)
      10. com.mongodb.operation.ListDatabasesOperation.execute(ListDatabasesOperation.java:53)
      11. com.mongodb.Mongo.execute(Mongo.java:772)
      12. com.mongodb.Mongo$2.execute(Mongo.java:759)
      13. com.mongodb.OperationIterable.iterator(OperationIterable.java:47)
      14. com.mongodb.OperationIterable.forEach(OperationIterable.java:70)
      15. com.mongodb.MappingIterable.forEach(MappingIterable.java:50)
      16. com.mongodb.MappingIterable.into(MappingIterable.java:60)
      16 frames