내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
해결됨

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

Avatar

Level 2

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/osg...

 

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.

주제

토픽은 커뮤니티 콘텐츠를 분류하여 관련성 있는 콘텐츠를 찾는 데 도움이 됩니다.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 2

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.

원본 게시물의 솔루션 보기

6 답변 개

Avatar

Community Advisor

HI @Minion_J ,

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

somensarkar_0-1711352192063.png

 

Ref:- https://experienceleague.adobe.com/en/docs/experience-manager-65/content/forms/install-aem-forms/osg...

 

Thanks,

Somen

 

Avatar

Level 2

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

Avatar

Community Advisor

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...

 

Thanks,

SOmen

Avatar

Level 2

Attached the code snippet. at line# 442 the first two parameters are mandatory params. at line# 440 I am creating the Document object by passing the InputStream as a parameter instead of passing the File parameter. In one of the references, they had tried passing the File input as a parameter. Let me give a try with this.

 

Hope we may get the same Document object though we use InputStream as a parameter/File as a parameter.

What do you say?

Avatar

Community Advisor and Adobe Champion

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

Avatar

정확한 답변 작성자:
Level 2

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.