Hello Everyone,
I was trying to integrate this dynamoDB with AEM 6.5 SPA , added this dependency in core/pom.xml and also in parent pom.xml
dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-dynamodb</artifactId>
<version>1.12.773</version>
</dependency>
=====================================================================
after running the mvn build ,able to see the below dependency in core/pom.xml included with the above one
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-core</artifactId>
<version>1.12.773</version>
<scope>compile</scope>
</dependency>
Getting this error in my project bundle in bundle console
====================================
com.amazonaws.auth -- Cannot be resolved
com.amazonaws.client.builder -- Cannot be resolved
com.amazonaws.services.dynamodbv2 -- Cannot be resolved
com.amazonaws.services.dynamodbv2.document -- Cannot be resolved
and my bundle is change to installed state now.
Thanks in advance!
also @smacdonald2008 please help on with idea or suggestions to resolve.
as I have seen links(https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aws-package-cannot-be-reso...) but some links provided here are not working now, this is similar one you resolved the same. but this is in AEM 6.5 SPA
thanks in advance!!
Views
Replies
Total Likes
Hi @Siva_Thanu_M_S ,
You can try either excluding them if not needed or import them explicitly.
References-
https://myaemlearnings.blogspot.com/2021/02/createbuild-and-install-osgi-bundle-of.html
https://stackoverflow.com/questions/66777995/awssdk-packages-are-not-resolved-in-aem-6-5
https://mvnrepository.com/artifact/software.amazon.awssdk
https://myaemlearnings.blogspot.com/2021/08/embedding-third-party-dependencyosgi.html
https://blogs.perficient.com/2023/08/16/integration-of-dynamodb-with-aem/
Thanks
thanks @MukeshYadav_
but I have already referred this URL and tried those but still facing the same issues in bundle
thanks in advance!
It might be due to dependency version issue.
So you may try below version mentioned in any blog/thread which had worked for them.
You may refer https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aws-package-cannot-be-reso... in case you haven't.
Thanks
thanks @MukeshYadav_ but still not resolved still getting the same error in console and project bundle is in installed state
Can you try the steps mentioned here
https://myaemlearnings.blogspot.com/2021/08/embedding-third-party-dependencyosgi.html
@Siva_Thanu_M_S Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!
Views
Replies
Total Likes
Views
Likes
Replies