Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Getting java.lang.ClassNotFoundException: com.adobe.aemfd.docmanager.source.DocumentSourceHandler

Avatar

Level 1

Hi All,

While trying testing the addSignatureField from link below:

Adobe Experience Manager Help | Using AEM Document Services Programmatically

I am getting java.lang.ClassNotFoundException: com.adobe.aemfd.docmanager.source.DocumentSourceHandler.

Can you please advise which jar contain DocumentSourceHandler? why it is not included?

Testing with AEM 6.2 jar

aemfd-client-sdk-6.2.0.jar

org.apache.sling.api-2.16.4.jar

Thanks and regards

Jia Jiunn Wong

2 Replies

Avatar

Level 2

You need to add Adobe AEMDS Core Document Manager Support (adobe-aemds-core-docmanager) bundle in classpath or you can add it dependency. This bundle is present in AEM. It will resolve DocumentSourceHandler class

1819100_pastedImage_0.png

Avatar

Level 1

Adding this as a dependency does not work as neither the adobe public repository nor the maven repository contains this jar.