My problem is: The class XSSFWorkbook is not contained in the JAR
which I get when I fetch version 3.6 of POI with maven by using:
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>3.6</version>
</dependency>
That's because you didn't include all the POI artificats. If you
want to use XSSF, make sure you also include poi-ooxml, and one of
the ooxml schema artificats (either full or poi-ooxml-schemas for
the common bits)
The maven artifact ids are documented on http://poi.apache.org/overview.html
Suggestions for improvements to the documentation are welcome.
BTW - We offer the split because many users of POI were only
interested in the binary format and the full ooxml distribution is
much larger. The split between poi and poi-scratchpad is to
accommodate people who are only interested in Excel which is the most
mature part of the project.
Perhaps we should consider a maven artifact called poi-all that gives
the maven user all of poi with poi-ooxml-schemas? Such a contribution
would be welcome. The maven artifact scripts are in the build, these
were recently done by Yegor for POI 3.6 release.
Regards,
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]