报错信息如下:
Request processing failed; nested exception is org. apache poi poifs filesystem OfficeXmlFile Exception: 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)
描述服务器遇到一个意外的情况,阻止它完成请求
Exception
org. springframework. web. util. NestedServletException: Request processing failed; nested exception is org. apache poi. poifs filesystem OfficeXmlFileException: 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 Xss instead of HSSF
processReque
ework Servlet java: 973)
org. springframework. web. servlet Framework Servlet doPost(FrameworkServlet java: 863)
ax.servlet.httphttpServletservice(htt
let java: 660)
org. springframework. web. servlet Framework Servlet. service(FrameworkServlet java: 837)
org. apache tomcat websocket server. WsFilter do Filter(WsFilter, java: 53)
com. thetransactioncompany cors CORSFilter doFilter( CORSFilter,java: 195)
com. thetransactioncompany cors CORS Filter do Filter(CORSFilter java: 266)
org. apache poi. poifs filesystem OfficeXmlFile Exception: 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)
org. apache poi. poifs storage Header Block. (Header Block java: 130)
org. apache poi. poifs storage Header Block. (Header Block. java: 117)
org. apache poi. poifs. filesystem. POIFSFile System (POIFSFile System java: 294)
org. apache poi hssf. usermodel HSSFWorkbook (HSSFWorkbook, java: 382)
cn.cqsoft commons utils. ReadExcelUtil getWork Book(Read ExcelUtil java: 131)