Hello Team,
We are trying to integrate Elasticsearch with AEM SDK version aem-sdk-2023.1.10675.20230113T110236Z-220900.
We have created external bundle with the JARs elasticsearch-rest-client,elasticsearch,elasticsearch-rest-high-level-client and uploaded in AEM then we got various NoClassDefFound errors like httpclient , httprequest, SSLHandshake Exception.. and we have uploaded jar by downloading from maven repository.
Could you please help us what is the best practice to integrate Elasticsearch with AEM SDK?
Thank you.
Solved! Go to Solution.
Views
Replies
Total Likes
@Srikanth-Keshapaga Please refer to below blog and check if you are doing it right
https://medium.com/@vinodh.sampath/site-search-with-es-and-aem-3086f8154bef
You can check for dependency errors in your core bundle, first, go to /system/console/bundles and search for your bundle and there you can see the imports which are not found in AEM.
then go to http://localhost:4502/system/console/depfinder and search for that class, if the bundle is present in AEM it will give you the dependency you need to add in your core pom.xml
@Srikanth-Keshapaga Please refer to below blog and check if you are doing it right
https://medium.com/@vinodh.sampath/site-search-with-es-and-aem-3086f8154bef