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

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


  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.


Promoting a comment to an answer

You should head to the Apache POI Download Page, and then download the binary release. The binary releases have -bin- in their file names. The binary releases contain the POI jars, and their dependencies.

What you've downloaded with -src- in the name is the source package, which contains everything you need to build Apache POI yourself, but if you just want to get started you're much better off with the pre-compiled binary package.