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?
Solved! Go to Solution.
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