Expand my Community achievements bar.

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

How to resolve html2pdf dependency ?

Avatar

Level 3

tried in many jar version? Someone help me

 

Capture.PNG

 

<dependency>
<groupId>com.itextpdf</groupId>
<artifactId>itext7-core</artifactId>
<version>7.1.9</version>
<type>pom</type>
</dependency>

<!-- iText pdfHTML add-on -->


<dependency>
<groupId>com.itextpdf</groupId>
<artifactId>html2pdf</artifactId>
<version>3.0.0</version>
</dependency>

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
3 Replies

Avatar

Correct answer by
Community Advisor

Refer the following forum URL - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maven-dependency-when-usin... with same type of request to resolve the issue

Regards

Albin I

www.albinsblog.com

Avatar

Level 3

@Albin_Issac I am facing similar issue. Tried adding embed dependency but is of no luck.

I am using AEM Sites SDK.

papenaarun_0-1681637277959.png

I have also posted the details in below post

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/com-itextpdf-html2pdf-and-...

 

Avatar

Level 3

I had similar issue and solved by creating a new common-core module in the project.

Please find the article where I mentioned the steps on how I created.

 

https://www.linkedin.com/pulse/revsolve-external-dependencies-aemacs-arunkumar-papena/