Error while reading an xlsm file using POI Framework in Java
问题 I am not able to read an xlsm file using the POI Framework (HSSF). I am getting the following error while reading an xlsm file. The supplied data appears to be in the Office 2007+ XML. You are calling the part of POI that deals with OLE2 Office Documents. You need to call a different part of POI to process this data (eg XSSF instead of HSSF) I tried reading the file through XSSF also. Even that doesn't solve the problem. Can anyone tell me how to read a xlsm file in java code using the poi