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달 전163회 조회
1개 답변
0

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

Vinoth
답변함 6달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠