java.lang.NoClassDefFoundError: java/util/concurrent/ScheduledFuture

GitHub | tonywestonuk | 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

    Exception when closing datasource when in @predestroy method

    GitHub | 7 months ago | tonywestonuk
    java.lang.NoClassDefFoundError: java/util/concurrent/ScheduledFuture

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      java/util/concurrent/ScheduledFuture

      at com.zaxxer.hikari.pool.PoolEntry.close()
    2. HikariCP-java6
      HikariDataSource.close
      1. com.zaxxer.hikari.pool.PoolEntry.close(PoolEntry.java:173)
      2. com.zaxxer.hikari.pool.HikariPool.closeConnection(HikariPool.java:411)
      3. com.zaxxer.hikari.pool.HikariPool.softEvictConnection(HikariPool.java:525)
      4. com.zaxxer.hikari.pool.HikariPool.softEvictConnections(HikariPool.java:339)
      5. com.zaxxer.hikari.pool.HikariPool.shutdown(HikariPool.java:205)
      6. com.zaxxer.hikari.HikariDataSource.close(HikariDataSource.java:304)
      6 frames