Data Exporter Error

UI Components for JSF
Post Reply
pankaj.aeon
Posts: 5
Joined: 13 Dec 2010, 13:51

25 Dec 2010, 12:57

While trying to use the exporter I am getting this error.. Please help with the name or link to the jar. I tried to Google but in vain.. :(

java.lang.NoClassDefFoundError: com/lowagie/text/Phrase

pankaj.aeon
Posts: 5
Joined: 13 Dec 2010, 13:51

25 Dec 2010, 13:53

Please also let me know what's going wrong.. Thank You.. :P

ethermion
Posts: 117
Joined: 25 Aug 2010, 15:11

25 Dec 2010, 15:04

You need iText, an external jar in your WEB-INF/lib

http://sourceforge.net/projects/itext/f ... Text1.4.8/

Then, all will be well with PDF exports. You MUST use 1.4.8. More recent versions are encumbered by a more restrictive license and are not API compatible.

If you want to export .xls, you will also need apache POI. You MUST use 3.2, as later versions have API changes that will break Primefaces.

http://archive.apache.org/dist/poi/release/bin/

Merry Christmas,

-e
Mojarra 2.2.8
Primefaces 5.1
Wildfly 8.2

voyagerx
Posts: 70
Joined: 10 Feb 2011, 03:52

24 Feb 2011, 22:05

I can't seem to find the older versions of iText anymore that are compatible.

Any suggestions?

voyagerx
Posts: 70
Joined: 10 Feb 2011, 03:52

04 Mar 2011, 01:10

Shameless bump just in case

User avatar
bumble.bee
Posts: 723
Joined: 29 Sep 2010, 21:39
Location: United States

04 Mar 2011, 15:51

google search finds this:

http://olex.openlogic.com/packages/itext/1.4.8

You can always pull it out of the PrimeFaces showcase too.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 13 guests