java.sql.SQLException: java.lang.NoSuchMethodError: com.google.common.io.Closeables.closeQuietly(Ljava/io/Closeable;)V

Apache's JIRA Issue Tracker | Jerry Chabot | 2 years ago
  1. 0

    [PHOENIX-1250] guava dependency out-dated causing NoSuchMethod error - ASF JIRA

    apache.org | 1 year ago
    java.sql.SQLException: java.lang.NoSuchMethodError: com.google.common.io.Closeables.closeQuietly(Ljava/io/Closeable;)V
  2. 0

    [PHOENIX-1250] guava dependency out-dated causing NoSuchMethod error - ASF JIRA

    apache.org | 11 months ago
    java.sql.SQLException: java.lang.NoSuchMethodError: com.google.common.io.Closeables.closeQuietly(Ljava/io/Closeable;)V
  3. 0

    [jira] [Commented] (PHOENIX-1250) guava dependency out-dated causing NoSuchMethod error

    apache.org | 11 months ago
    java.sql.SQLException: java.lang.NoSuchMethodError: com.google.common.io.Closeables.closeQuietly(Ljava/io/Closeable;)V
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Phoenix has a dependency on Guava 12.0.1 (released in 2012). My project uses Guava 16.0.1. The latest version is 18. Apparently, the Closeables.closeQuitely(Closeable) no longer exists in 16.0.1 and later. Possibly earlier versions. I get the error below when attempting to get a connection. This is blocking any attempts to integrate Phoenix because I cannot downgrade our project dependency to a 2 year old version. Please review all project dependencies and consider uprading to more recent versions. java.sql.SQLException: java.lang.NoSuchMethodError: com.google.common.io.Closeables.closeQuietly(Ljava/io/Closeable;)V at org.apache.phoenix.query.ConnectionQueryServicesImpl.metaDataCoprocessorExec(ConnectionQueryServicesImpl.java:947) at org.apache.phoenix.query.ConnectionQueryServicesImpl.createTable(ConnectionQueryServicesImpl.java:1144) at org.apache.phoenix.query.DelegateConnectionQueryServices.createTable(DelegateConnectionQueryServices.java:114) at org.apache.phoenix.schema.MetaDataClient.createTableInternal(MetaDataClient.java:1315) at org.apache.phoenix.schema.MetaDataClient.createTable(MetaDataClient.java:445) at org.apache.phoenix.compile.CreateTableCompiler$2.execute(CreateTableCompiler.java:183) at org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:256) at org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:248) at org.apache.phoenix.call.CallRunner.run(CallRunner.java:53) at org.apache.phoenix.jdbc.PhoenixStatement.executeMutation(PhoenixStatement.java:246) at org.apache.phoenix.jdbc.PhoenixStatement.executeUpdate(PhoenixStatement.java:960) at org.apache.phoenix.query.ConnectionQueryServicesImpl$9.call(ConnectionQueryServicesImpl.java:1519) at org.apache.phoenix.query.ConnectionQueryServicesImpl$9.call(ConnectionQueryServicesImpl.java:1489) at org.apache.phoenix.util.PhoenixContextExecutor.call(PhoenixContextExecutor.java:77) at org.apache.phoenix.query.ConnectionQueryServicesImpl.init(ConnectionQueryServicesImpl.java:1489) at org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:162) at org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.connect(PhoenixEmbeddedDriver.java:129) at org.apache.phoenix.jdbc.PhoenixDriver.connect(PhoenixDriver.java:133) at java.sql.DriverManager.getConnection(DriverManager.java:571) at java.sql.DriverManager.getConnection(DriverManager.java:187)

    Apache's JIRA Issue Tracker | 2 years ago | Jerry Chabot
    java.sql.SQLException: java.lang.NoSuchMethodError: com.google.common.io.Closeables.closeQuietly(Ljava/io/Closeable;)V
  6. 0

    Getting SQLException in Phoenix JDBC client

    Stack Overflow | 1 year ago | Learner
    java.sql.SQLException: ERROR 2007 (INT09): Outdated jars. The following servers require an updated phoenix.jar to be put in the classpath of HBase: region=SYSTEM.CATALOG

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.sql.SQLException

      java.lang.NoSuchMethodError: com.google.common.io.Closeables.closeQuietly(Ljava/io/Closeable;)V

      at org.apache.phoenix.query.ConnectionQueryServicesImpl.metaDataCoprocessorExec()
    2. Phoenix Core
      PhoenixDriver.connect
      1. org.apache.phoenix.query.ConnectionQueryServicesImpl.metaDataCoprocessorExec(ConnectionQueryServicesImpl.java:947)
      2. org.apache.phoenix.query.ConnectionQueryServicesImpl.createTable(ConnectionQueryServicesImpl.java:1144)
      3. org.apache.phoenix.query.DelegateConnectionQueryServices.createTable(DelegateConnectionQueryServices.java:114)
      4. org.apache.phoenix.schema.MetaDataClient.createTableInternal(MetaDataClient.java:1315)
      5. org.apache.phoenix.schema.MetaDataClient.createTable(MetaDataClient.java:445)
      6. org.apache.phoenix.compile.CreateTableCompiler$2.execute(CreateTableCompiler.java:183)
      7. org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:256)
      8. org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:248)
      9. org.apache.phoenix.call.CallRunner.run(CallRunner.java:53)
      10. org.apache.phoenix.jdbc.PhoenixStatement.executeMutation(PhoenixStatement.java:246)
      11. org.apache.phoenix.jdbc.PhoenixStatement.executeUpdate(PhoenixStatement.java:960)
      12. org.apache.phoenix.query.ConnectionQueryServicesImpl$9.call(ConnectionQueryServicesImpl.java:1519)
      13. org.apache.phoenix.query.ConnectionQueryServicesImpl$9.call(ConnectionQueryServicesImpl.java:1489)
      14. org.apache.phoenix.util.PhoenixContextExecutor.call(PhoenixContextExecutor.java:77)
      15. org.apache.phoenix.query.ConnectionQueryServicesImpl.init(ConnectionQueryServicesImpl.java:1489)
      16. org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:162)
      17. org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.connect(PhoenixEmbeddedDriver.java:129)
      18. org.apache.phoenix.jdbc.PhoenixDriver.connect(PhoenixDriver.java:133)
      18 frames
    3. Java RT
      DriverManager.getConnection
      1. java.sql.DriverManager.getConnection(DriverManager.java:571)
      2. java.sql.DriverManager.getConnection(DriverManager.java:187)
      2 frames