p:dataExporter xlsx problem

Post Reply
Desarrollointelidata
Posts: 2
Joined: 12 Aug 2015, 17:10

27 Apr 2018, 17:18

The Problem is generated when exporting a datatable as xlsx.
I have tried different versions of poi-ooxml 3.14, 3.8, 3.11 and I have the same problem.

java.lang.AbstractMethodError: Method org/apache/poi/xssf/usermodel/XSSFSheet.getMergedRegions()Ljava/util/List; is abstract
at org.apache.poi.xssf.usermodel.XSSFSheet.getMergedRegions(XSSFSheet.java)
at org.apache.poi.ss.util.SheetUtil.getCellWidth(SheetUtil.java:110)
at org.apache.poi.ss.util.SheetUtil.getColumnWidthForRow(SheetUtil.java:282)
at org.apache.poi.ss.util.SheetUtil.getColumnWidth(SheetUtil.java:235)
at org.apache.poi.ss.util.SheetUtil.getColumnWidth(SheetUtil.java:214)

aragorn
Posts: 3718
Joined: 29 Jun 2013, 12:38

07 May 2018, 07:49

I think it is not a Layout or Theme issue. Could you please try it without Ultima? Please use PrimeFaces core forum; viewforum.php?f=3

Also, we use the following dependencies in PrimeFaces showcase;

Code: Select all

<!-- Data Exporter -->
        <dependency>
            <groupId>org.apache.poi</groupId>
            <artifactId>poi</artifactId>
            <version>3.17</version>
        </dependency>
        <dependency>
            <groupId>org.apache.poi</groupId>
            <artifactId>poi-ooxml</artifactId>
            <version>3.17</version>
        </dependency>
        <dependency>
            <groupId>com.lowagie</groupId>
            <artifactId>itext</artifactId>
            <version>2.1.7</version>
            <exclusions>
                <exclusion>
                    <groupId>bouncycastle</groupId>
                    <artifactId>bcmail-jdk14</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>bouncycastle</groupId>
                    <artifactId>bcprov-jdk14</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.bouncycastle</groupId>
                    <artifactId>bctsp-jdk14</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

Post Reply

Return to “Ultima - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests