I used poi jars from version 3 to 5 to fetch data from encrypted excel file but not able to fetch data, while running java selenium read excel program its throwing OLAP error. The excel file is .xlsx.
ERROR: xception in thread "main" org.apache.poi.openxml4j.exceptions
.OLE2NotOfficeXmlFileException: The supplied data appears to be in the
OLE2 Format. You are calling the part of POI that deals with OOXML
(Office Open XML) Documents. You need to call a different part of POI
to process this data (eg HSSF instead of XSSF)
How to fetch the data from encrypted excel file?