AEM 6.5 AWS package cannot be resolved | Community
Skip to main content
Level 2
September 20, 2022

AEM 6.5 AWS package cannot be resolved

  • September 20, 2022
  • 1 reply
  • 1429 views

Hi everyone,

 

I'm trying to import aws java sdk into AEM so i can upload files to AWS S3.

My pom file is like this 

<dependency>
  <groupId>org.apache.servicemix.bundles</groupId>
  <artifactId>org.apache.servicemix.bundles.aws-java-sdk</artifactId>
  <version>1.11.714_1</version>
</dependency>
 
Build is fine but when i check the bundle,i find those packages cannot be resolved.

Not sure it is version problem or not so really prefer some help.

 

Thanks!

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

1 reply

Level 3
September 20, 2022

@zonghuiliu , can you try adding this dependency?

<!-- https://mvnrepository.com/artifact/com.amazonaws/aws-java-sdk-s3 -->
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-s3</artifactId>
<version>1.12.262</version>
</dependency>

Level 2
September 21, 2022

Hi!Thank you for your response.

 

I've tried adding the dependency and it still cannot be resolved.

Level 3
September 21, 2022

@zonghuiliu

This needs to be added as well - https://mvnrepository.com/artifact/com.adobe.granite/com.adobe.granite.oak.s3connector/1.10.10

Also, I have this jar manually installed on my local and the dependencies are met - amazonosgi_1.0.0.jar