linux 导入excel文件 路径 与windows的区别,excel导入,本地windows环境可以,linux服务器失败...

报错信息如下:

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)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值