Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Generating pdf in Liferay dxp using itext
Hai All,
I am trying to generate pdf in my website using iText Api in liferay 7.2. It is a maven project. I included maven dependencies in pom.xml and while running my project I am getting error as unable to read component and getting error at import com.itextrender.org
Please help me with this issue. Waiting for your answers.
Thanks in advance.
Liferay doesn't provide itext libraries for you, you need to add them yourself. Usually by packaging them inside of your module. This older post describes several options to do that, but for gradle. No idea, what you have to do in maven.
https://liferay.dev/en/b/osgi-module-dependencies
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™