Hello everybody,

I have just created a Hello word project by Axon.ivy Designer Version: 5.1.0. In this project, I used dataExporter of primeface for export data from table to excel, pdf, cvs file.

However, There were some errors occurred when I tried to export Excel and Pdf. These are error messages I got from log file:

For excel: ClassNotFoundException: org.apache.poi.ss.usermodel.RichTextString

For Pdf: ClassNotFoundException: com.lowagie.text.Phrase

It worked fine with csv only

I try to copy itext-2.1.7.jar to lib folder of project. but it did not help.

Could you help me to clarify it.

Thank in advance.

Huy

asked 30.09.2014 at 08:50

nqhuy's gravatar image

nqhuy
11113
accept rate: 0%


The p:dataExporter uses third party plugins to generate Pdf or Excel files. These third parties must be manually added to the classpath (of the webapp classloader) and are not packed with the primefaces.jars...

So in the case of Excel you need to add org.apache.poi to your classpath. You can download it from the official website.

After that it put into the directory "Designer root"/webapps/ivy/WEB-INF/lib/ (and restart Designer).

link

answered 02.10.2014 at 12:40

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
7.4k11347
accept rate: 71%

edited 06.10.2014 at 09:00

Dominik%20Regli's gravatar image

Dominik Regli ♦
9013518

In order to export PDFs, you need itext as already mentioned in the question.

(03.10.2014 at 16:24) Dominik Regli ♦ Dominik%20Regli's gravatar image

Hello Dominik Regli, Reguel-wermelinger

Happy to let you know that It worked fine after copy both libraries(poi and itext) to the directory [Designer Roo]/webapps/ivy/WEB-INF/lib/

Thank you so much for your help.

Huy

(07.10.2014 at 12:13) nqhuy nqhuy's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×45

Asked: 30.09.2014 at 08:50

Seen: 2,463 times

Last updated: 07.10.2014 at 12:16