Poi package conflict (excel), poi package conflict excel
1. jar packages
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)
Dependency: poi-3.14.jar, poi-ooxml-schemas-3.14.jar, curvesapi-1.03.jar (do not know what is used, please leave a message to inform, thank you)
(3) poi-ooxml-schemas-3.14.jar
Dependency: xmlbeans-2.6.jar
Detailed dependency to see the link: http://repo1.maven.org/maven2/org/apache/poi/
Example: http://repo1.maven.org/maven2/org/apache/poi/poi/3.14/poi-3.14.pom
2. FAQs
(1) Conflict: xbean. jar and xmlbeans-2.6.jar, need to delete xbean. jar
(2) version: The main jar packages are of the same version. The dependent jar package version is too low or too high. For example, if the xmlbeans. jar version is too low, upgrade it.