S3ClientBuilder.Build() is not working

0

Hi When I try to use below code. builder.build() is not throwing any error. and its not responding anything. Can anyone help on this.

S3ClientBuilder builder = S3Client.builder() .credentialsProvider(() -> StaticCredentialsProvider.create(credentials).resolveCredentials()) .region(Region.of(region)); builder.build() // This is not responding anything.

Dependeny: <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>s3</artifactId> <version>2.21.21</version> <exclusions> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> </exclusions> </dependency>

Vinoth
質問済み 6ヶ月前164ビュー
1回答
0

I resolved it. Due to dependency conflicts the issue was. Thanks guys.

Vinoth
回答済み 6ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ