1. Required jar package
Involved poi
(1) poi-3.14.jar (HSSF)
Dependency: commons-logging-1.2.jar , log4j-1.2.17.jar, commons-codec.1.10.jar, junit.4.12.jar, hamcrest-core.1.3.jar
(2) poi-ooxml-3.14.jar (XSSF)
Dependencies: poi-3.14.jar, poi-ooxml-schemas-3.14.jar, curvesapi-1.03.jar (I don’t know what it is used for, please leave a message if you know, thank you)
(3)poi-ooxml-schemas-3.14.jar
Dependency: xmlbeans-2.6.jar
For detailed dependencies, please check the link:
For example:
2. Frequently Asked Questions
(1) Conflict: xbean.jar and xmlbeans-2.6.jar, xbean.jar needs to be deleted
(2) Version: The main jar package version is the same, the dependent jar package version is too low or too high, for example: the xmlbeans.jar version is too low, upgrade it
The above is the detailed content of Detailed example of poi package conflict problem. For more information, please follow other related articles on the PHP Chinese website!