software.amazon.awssdk is not resolving | Community
Skip to main content
Level 2
May 9, 2023

software.amazon.awssdk is not resolving

I am facing a problem as described below.

 

My parent pom doesn't have added any dependencies.

 

Core pom file has the following dependencies 

 

<dependencyManagement>
<dependencies>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>bom</artifactId>
<version>2.20.62</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>s3</artifactId>
</dependency>
</dependencies>


Build is successful, but in the Felix console I'm getting the following error. 

 

software.amazon.awssdk.auth.credentials -- Cannot be resolved
software.amazon.awssdk.awscore.client.builder -- Cannot be resolved
software.amazon.awssdk.awscore.exception -- Cannot be resolved
software.amazon.awssdk.core.exception -- Cannot be resolved
software.amazon.awssdk.core.sync -- Cannot be resolved
software.amazon.awssdk.regions -- Cannot be resolved
software.amazon.awssdk.services.s3 -- Cannot be resolved
software.amazon.awssdk.services.s3.model -- Cannot be resolved

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

4 replies

Sady_Rifat
New Participant
May 10, 2023
MayurSatav
New Participant
May 10, 2023

hi @linujo ,

It appears that the necessary dependencies for the software.amazon.awssdk package are not being resolved properly in your project.

You can try adding the following dependencies to your pom.xml file and then rebuilding your project

 

<dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>auth</artifactId> <version>2.15.32</version> </dependency> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>aws-core-client</artifactId> <version>2.15.32</version> </dependency> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>aws-core-sdk-exception</artifactId> <version>2.15.32</version> </dependency> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>aws-core-sdk</artifactId> <version>2.15.32</version> </dependency> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>aws-core-sdk-sync</artifactId> <version>2.15.32</version> </dependency> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>regions</artifactId> <version>2.15.32</version> </dependency> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>s3</artifactId> <version>2.15.32</version> </dependency> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>s3-model</artifactId> <version>2.15.32</version> </dependency>

 

Translate
LinuJoAuthor
Level 2
May 10, 2023

These dependencies are transitive and it is present in the dependency hierarchy.

Translate
SantoshSai
New Participant
May 9, 2023

Hi @linujo ,

Kindly refer to the similar thread here: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/on-using-awssdk-some-dependencies-are-not-resolved/td-p/401165 

Here is the article discussed on AWS Services in AEM: https://myaemlearnings.blogspot.com/2021/03/aws-service-in-aem.html

Hope that helps!

Regards,
Santosh

Translate
Santosh Sai