Problem with pe:exporter

Community Driven Extensions Project
Post Reply
DANARCTIC
Posts: 1
Joined: 23 May 2015, 00:31

23 May 2015, 00:37

Good day. I have a problem using extensions PrimeFaces 4.0 and PrimeFaces Extensions 1.0.0. I am using:
<pe:exporter type="pdf" target="dtRI, dtRIE" fileName ="cars"></pe:exporter>

To export two tables and mark me the following error:

22-May-2015 17: 20: 01 377 1100 [http-child-8084-exec-59] null.null JSF1073: java.lang.NoSuchMethodError has intercepted during processing INVOKE_APPLICATION 5: UIComponent-ClientId = Message = com .lowagie.text.pdf.PdfPTable.completeRow () V
22-May-2015 17: 20: 01 377 1100 [http-child-8084-exec-59] null.null com.lowagie.text.pdf.PdfPTable.completeRow () V

 java.lang.NoSuchMethodError: com.lowagie.text.pdf.PdfPTable.completeRow () V
at org.primefaces.extensions.component.exporter.PDFExporter.tableColumnGroup (PDFExporter.java:549)
at org.primefaces.extensions.component.exporter.PDFExporter.exportAll (PDFExporter.java:373)
at org.primefaces.extensions.component.exporter.PDFExporter.exportPDFTable (PDFExporter.java:241)
at org.primefaces.extensions.component.exporter.PDFExporter.export(PDFExporter.java:133)................


I appreciate your help.

User avatar
sudheer
PrimeFaces Core Developer
Posts: 4345
Joined: 16 Oct 2011, 19:19
Location: Singapore

29 May 2015, 03:48

what is your iText version? Try with all latest versions(primefaces,extensions) if possible.
Author,Speaker
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/

___________________
Sudheer Jonna

rosière
Posts: 92
Joined: 28 Nov 2012, 15:55
Contact:

02 Jul 2015, 12:22

I'm also using lowagie with my exporter, without such problem.
Here is my declaration in Maven:

Code: Select all


      <dependency>
            <groupId>com.lowagie</groupId>
            <artifactId>itext</artifactId>
            <version>2.1.7</version>
            <type>jar</type>
 </dependency>
This is iText's latest free-of-charge version. If you are developing a commercial project you may need to acquire a license of iText in order to use its newest features.
JDK: 1.8
Operating system: Windows 10
server: 4.1.1.171 #badassfish (build 136)
IDE: NetBeans 11.2
primefaces : version 6.0
primefaces extensions : 4.0.0
Apache Poi: 3.15

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 11 guests