Skip to content

Commit 4f55d2c

Browse files
authored
[b/432671467] Add missing Redshift Serverless library
This PR fixes the error: Exception in thread "main" java.lang.NoClassDefFoundError: com/amazonaws/services/redshiftserverless/AWSRedshiftServerlessClientBuilder that occurs when user tries to connect to Redshift Serverless using IAM credentials instead of password.
1 parent 1cee8f7 commit 4f55d2c

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

dumper/app/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ dependencies {
8484
implementation libs.google.cloud.kms
8585
implementation libs.httpclient5
8686
implementation libs.aws.java.sdk.redshift
87+
implementation libs.aws.java.sdk.redshiftserverless
8788
implementation libs.aws.java.sdk.cloudwatch
8889
implementation(libs.oozie.client) {
8990
exclude group: 'javax.jms', module: 'jms'

dumper/app/gradle.lockfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ com.amazon.redshift:redshift-jdbc42:2.1.0.32=runtimeClasspath,testFixturesRuntim
77
com.amazonaws:aws-java-sdk-cloudwatch:1.12.778=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
88
com.amazonaws:aws-java-sdk-core:1.12.778=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
99
com.amazonaws:aws-java-sdk-redshift:1.12.778=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
10+
com.amazonaws:aws-java-sdk-redshiftserverless:1.12.778=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
1011
com.amazonaws:jmespath-java:1.12.778=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
1112
com.fasterxml.jackson.core:jackson-annotations:2.18.3=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
1213
com.fasterxml.jackson.core:jackson-core:2.18.3=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath

gradle/libs.versions.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ auto-value = { module = "com.google.auto.value:auto-value", version.ref = "auto-
8383
auto-value-annotations = { module = "com.google.auto.value:auto-value-annotations", version.ref = "auto-value" }
8484
aws-java-sdk-cloudwatch = { module = "com.amazonaws:aws-java-sdk-cloudwatch", version.ref = "aws-java-sdk" }
8585
aws-java-sdk-redshift = { module = "com.amazonaws:aws-java-sdk-redshift", version.ref = "aws-java-sdk" }
86+
aws-java-sdk-redshiftserverless = { module = "com.amazonaws:aws-java-sdk-redshiftserverless", version.ref = "aws-java-sdk" }
8687
cel = { module = "dev.cel:cel", version.ref = "cel" }
8788
checker-qual = { module = "org.checkerframework:checker-qual", version.ref = "checkerframework" }
8889
commons-io = { module = "commons-io:commons-io", version.ref = "commons-io" }

0 commit comments

Comments
 (0)