Required maven dependencies for Apache POI to work

前端 未结 10 950
长情又很酷
长情又很酷 2021-01-03 19:17

I want to use Apache POI library to parse excel files (old versions and newer versions of excel). So I was wondering what jars do i need to include from the Apache POI becau

10条回答
  •  执笔经年
    2021-01-03 20:09

    I used the below dependency. If you are using Selenium then it's good to use all of them as below. Else you will see some errors and then do the reserch and add some more dependencies.

    
                     org.apache.poi
                     poi
                     3.9
              
              
                     org.apache.poi
                     poi-ooxml
                     3.9
              
              
                     org.apache.poi
                     poi-ooxml-schemas
                     3.9
              
              
                     org.apache.poi
                     poi-scratchpad
                     3.9
              
              
                     org.apache.poi
                     ooxml-schemas
                     1.1
              
    
              
                     org.apache.poi
                     openxml4j
                     1.0-beta
              
    

提交回复
热议问题