Getting GeneratePdfServiceImpl dependency error while using com.adobe.aemfd:aemfd-client-sdk:6.0.718.jar | Community
Skip to main content
Level 2
March 24, 2024
Solved

Getting GeneratePdfServiceImpl dependency error while using com.adobe.aemfd:aemfd-client-sdk:6.0.718.jar

  • March 24, 2024
  • 2 replies
  • 1265 views

I have a requirement to convert the non-PDF assets to PDF assets. As per the suggestion i had installed aem-service-pkg-6.5.20.0.zip with adobe-aem-forms-addon-6.5.20.0-windows.zip.

 

https://experienceleague.adobe.com/en/docs/experience-manager-65/content/forms/install-aem-forms/osgi-installation/install-configure-document-services

 

I was trying to use below dependency for my custom implementation class (aemfd-client-sdk.png) to use GeneratePdfService Interface, but it doesn't have the GeneratePdfServiceImpl class in the jar file, so I am facing dependency error. Please see attached [dependency error.png]

 

<dependency>
<groupId>com.adobe.aemfd</groupId>
<artifactId>aemfd-client-sdk</artifactId>
<version>6.0.718</version>
</dependency>

 

As per adobe-aemfd-pdfg-core.png I need to use this jar dependency to make use of GeneratePdfServiceImpl class. I have also configured the required environment variables in the Dev author env of linux system. Can anyone suggest how I can proceed on this to fix the error.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Minion_J

I got to know from few sources that DocumentConversion exception is known issue for non-PDF assets with SP19 and SP20 itseems. So, it was mentioned that the fix for the issue will be available in SP21 service pack release itseems.

2 replies

somen-sarkar
Community Advisor
Community Advisor
March 25, 2024

HI @minion_j ,

As per the dependency error screenshot, could you check if the Apache OpenOffice is installed and  configured correctly ?

 

Ref:- https://experienceleague.adobe.com/en/docs/experience-manager-65/content/forms/install-aem-forms/osgi-installation/install-configure-document-services

 

Thanks,

Somen

 

Minion_JAuthor
Level 2
March 25, 2024

Yes. Apache OpenOffice is installed and configured. Now I am facing the different error. Attaching the error logs for reference. Thanks for your Support.

somen-sarkar
Community Advisor
Community Advisor
March 26, 2024

Now the error is from  com.threeShare.thermokingAssetshare.core.services.impl.AssetServiceImpl.processDocument(AssetServiceImpl.java:442) 

 

Debug it further to resolve the same. For conversion some parameters are mandatory and some are optional. Check the below javadoc . It may help you in resolving the same :- 

https://developer.adobe.com/experience-manager/reference-materials/6-5/forms/javadocs/index.html?com/adobe/pdfg/service/api/GeneratePDFService.html

 

Thanks,

SOmen

MayurSatav
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
March 27, 2024

@minion_j ,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.

Minion_JAuthorAccepted solution
Level 2
March 27, 2024

I got to know from few sources that DocumentConversion exception is known issue for non-PDF assets with SP19 and SP20 itseems. So, it was mentioned that the fix for the issue will be available in SP21 service pack release itseems.