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
Views
Replies
Total Likes
Hi @Linu ,
Kindly refer to the similar thread here: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/on-using-awssdk-some-depen...
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
hi @Linu ,
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>
These dependencies are transitive and it is present in the dependency hierarchy.
Hello @Linu ,
Recently I faced with a similar type of issue. To solve this thread will help you: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/com-itextpdf-html2pdf-and-...
Embedding Third-party dependency/OSGi bundle: https://myaemlearnings.blogspot.com/2021/08/embedding-third-party-dependencyosgi.html