Athena JDBC 报驱动程序未找到异常!

0

【以下的问题经过翻译处理】 驱动版本:2.0.35。我从Amazon链接下载(其中一个包含AWS SDK)。 报错:Exception in thread "main" java.lang.RuntimeException: java.sql.SQLException: No suitable driver found for jdbc:awsathena://AwsRegion=us-east-1; at org.example.AthenaQueryRun.init(AthenaQueryRun.java:21) at org.example.AthenaQueryRun.main(AthenaQueryRun.java:11) Caused by: java.sql.SQLException: No suitable driver found for jdbc:awsathena://AwsRegion=us-east-1; at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:702) at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:189) at org.example.AthenaConnection.init(AthenaConnection.java:35) at org.example.AthenaQueryRun.init(AthenaQueryRun.java:17) ... 1 more

我的环境:JDK corretto-11

profile picture
ESPERTO
posta 5 mesi fa30 visualizzazioni
1 Risposta
0

【以下的回答经过翻译处理】 请查看此文档。示例: CustomSessionCredentialsProvider 如果您仍然遇到上述示例的问题,请提交支持工单,我们可以在屏幕共享中共同讨论在您的本地环境中出现的问题。

profile picture
ESPERTO
con risposta 5 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande