Poi package conflict (excel), poi package conflict excel

Source: Internet
Author: User

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.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.