How can I add the Apache POI Library in Eclipse - for Selenium Webdriver project?

后端 未结 2 868
故里飘歌
故里飘歌 2021-02-08 11:07

I need to add the apache poi to my project (I need hssf, ss and xssf). I downloaded a jar file from the internet but it does not contain xssf. I went to http://poi.apache.org/ a

2条回答
  •  不要未来只要你来
    2021-02-08 11:49

    1. Download The latest stable release: Apache POI 3.16-FINAL distribution,

    2. open your eclipse project properties,

    3. Java Built Path > Libraries > Add external JARs,

    4. then extract the zip file you downloaded and navigate the extracted folder,

    5. select all the JARs under the sub folders (docs, lib, ooxml-lib),

    6. then finally in the Order and Export section put marks to jar libs you just added,

    and click OK.

提交回复
热议问题