Issues while importing dependencies in a project | Community
Skip to main content
Level 2
May 16, 2023
Solved

Issues while importing dependencies in a project

  • May 16, 2023
  • 1 reply
  • 1065 views

I am facing an issue while importing dependencies in my project. I need to import itextpdf dependency to use pdfWriter and I am trying to use 5.5.13.3 version.

 

I am using AEM as a cloud Service SDK platform.

 

The error logs are as below :

 

 

Attached are the screenshots of the dependencies added in the POM files.

 

pom.xml

 

 

core/pom.xml

 

 

 

The dependencies are shown with the following status while checking the bundle with the build success.

 

 

 

Though, if I am trying to import these dependencies in a class and building the code it fails.

 

I have also tried with a solution to add embed-dependencies which I could not find helpful. With that I have also tried with one more solution which also didn’t help.

 

 

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

1 reply

Sady_Rifat
Community Advisor
Sady_RifatCommunity AdvisorAccepted solution
Community Advisor
May 16, 2023
anshul__Author
Level 2
May 16, 2023

Hi @sady_rifat,

Thanks for your response. I tried with the solution approach, but still facing some build error for the new module we have created. Can you connect for the help?