Message Boards
Generating pdf in Liferay dxp using itext
Nikitha cgg, modified 2 Years ago.
Generating pdf in Liferay dxp using itext
New Member Posts: 3 Join Date: 2/18/21 Recent PostsHai 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.
Christoph Rabel, modified 2 Years ago.
RE: Generating pdf in Liferay dxp using itext
Liferay Legend Posts: 1554 Join Date: 9/24/09 Recent PostsLiferay 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