Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Elasticsearch integreation with AEM SDK(i.e. aem-sdk-2023.1.10675.20230113T110236Z-220900)

Avatar

Level 1

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.

2 Replies

Avatar

Level 3

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

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now