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

GitHub | julio-pope | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Java::excptn: A Java exception occurred: java.lang.NoSuchMethodError: org.slf4j.Logger.isTraceEnabled()Z

    GitHub | 7 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
      Mongo.getDatabaseNames
      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)
      17. com.mongodb.Mongo.getDatabaseNames(Mongo.java:436)
      17 frames