Error while install and use dependencies AEM
Hello, what happens is that I'm developing a code that asks me to install a package to implement it, this package is called: flying-saucer-pdf
To install it I need to add it through maven to my pom.xml file, the pom.xml file is located in the path:
core > pom.xml of the project.
What happens is that when running the build locally it throws the following error:
[org.xhtmlrenderer.pdf, com.lowagie.text] in start level 20 but no bundle is exporting these for that start level.
This is the dependency I use:
<dependencies>
<dependency>
<groupId>org.xhtmlrenderer</groupId>
<artifactId>flying-saucer-pdf</artifactId>
<version>9.1.22</version>
</dependency>
</dependencies>
What can I do to solve it, I have seen several cases with different solutions but none of them help me, I am doing all this at the project code level, I am not allowed to use the crxde UI or similar.
Am I installing the maven in the correct pom.xml or is there something I am doing wrong?