Hi,
I have added the kendra dependency in core pom.xml and parent pom.xml.
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>kendra</artifactId>
<version>2.25.40</version>
</dependency>
there is no error in java class and there are no compilation errors in core folder as well. But we are getting the following error :
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi,
Please check this thread: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/the-analyser-found-the-fol...
Hope this helps
Thanks for reply!
I have followed the document you shared. I am getting different error now.
can you help with this ?
Thanks!
Hi @SushmaNa ,
Check Dependency Versions: Ensure that all dependencies in your project, including transitive dependencies, are using compatible versions. Sometimes, different dependencies might require conflicting versions of the same library, leading to such errors. If you're using any other AWS SDK dependencies, make sure they are compatible with the version of Kendra you're using.
Check for Snapshot Dependencies: Snapshot dependencies are usually not recommended for production use because they are subject to changes. Check your pom.xml files for any dependencies that have -SNAPSHOT versions. If possible, try to replace them with stable versions.
Dependency Tree: Use Maven's dependency tree to analyze which dependencies are bringing in the snapshot versions. You can use the following command to generate a dependency tree:
mvn dependency:tree
This will give you an overview of all dependencies and their versions. Look for any snapshot versions and try to resolve them.
Exclude Conflicting Transitive Dependencies: If a conflicting dependency is being pulled in transitively, you can exclude it and explicitly specify the version you want. For example:
<dependency>
<groupId>some.group</groupId>
<artifactId>conflicting-dependency</artifactId>
<version>conflicting-version</version>
<exclusions>
<exclusion>
<groupId>conflicting.group</groupId>
<artifactId>conflicting-artifact</artifactId>
</exclusion>
</exclusions>
</dependency>
Clean Maven Cache: Sometimes, Maven's local repository cache might get corrupted. Try cleaning the cache by deleting the .m2/repository directory in your user home directory. Then, re-run your Maven build. Maven will re-download dependencies, ensuring a clean state.
Update Maven Plugin: Ensure that you're using the latest version of the Maven compiler plugin. Sometimes, outdated versions can lead to unexpected errors.
After performing these steps, rebuild your project and see if the issue persists. If the problem continues, the error message "all snapshot error" might indicate a specific issue with the Kendra dependency itself, in which case you might want to reach out to AWS support or check their documentation and forums for any known issues.
@SushmaNa Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies