EXCEL导入问题,10.0版本.安装了EXCEL导入逻辑插件

试了好几台电脑,其他电脑都正常导入.唯独有一台电脑导入错误.且页面没有提示.查后台日志发现报错

com.fr.third.v2.org.apache.poi.openxml4j.exceptions.InvalidFormatException: Package should contain a content type part [M1.13]

百度说是 文件类型信息读取错误,文件都是同一个.xlsx后缀名结尾.请问这是啥情况

具体报错日志如下

com.fr.third.v2.org.apache.poi.openxml4j.exceptions.InvalidFormatException: Package should contain a content type part [M1.13]

at com.fr.third.v2.org.apache.poi.openxml4j.opc.ZipPackage.getPartsImpl(ZipPackage.java:197)

at com.fr.third.v2.org.apache.poi.openxml4j.opc.OPCPackage.getParts(OPCPackage.java:696)

at com.fr.third.v2.org.apache.poi.openxml4j.opc.OPCPackage.open(OPCPackage.java:280)

at com.fr.data.impl.excelplus.Excel2007Util.createMutiSheetExcel(Unknown Source)

at com.fr.data.impl.excelplus.ExcelDataModelPlus.createMutiSheetData(Unknown Source)

at com.fr.write.web.excel.ExcelImportPlusProcessor.generateWorkBookByStream(Unknown Source)

at com.fr.plugin.excelimportattr.ExcelShowValueImpl.generateWorkBookByStream$original$yIGp8F0n(Unknown Source)

at com.fr.plugin.excelimportattr.ExcelShowValueImpl.generateWorkBookByStream$original$yIGp8F0n$accessor$8e9uwXje(Unknown Source)

at com.fr.plugin.excelimportattr.ExcelShowValueImpl$auxiliary$qdhALR1Q.call(Unknown Source)

at com.fr.intelli.record.FocusInterceptor.intercept(Unknown Source)

at com.fr.plugin.excelimportattr.ExcelShowValueImpl.generateWorkBookByStream(Unknown Source)

at com.fr.write.web.excel.WebExcelUtils.dealWithUploadExcel(Unknown Source)

at com.fr.write.web.excel.WebExcelUtils.dealWithUploadExcel(Unknown Source)

at com.fr.web.core.bochavy.FbtfrWbffjmYsyweXvpxYbtjqq.actionCMD(Unknown Source)

at com.fr.web.core.WebActionsDispatcher.dealForActionCMD(Unknown Source)

at com.fr.web.core.WebActionsDispatcher.dealForActionDefaultCmd(Unknown Source)

at com.fr.web.core.WebActionsDispatcher.dealForActionCMD(Unknown Source)

at com.fr.web.core.bochavy.FbtfrGtjocxa.process(Unknown Source)

at com.fr.web.core.ReportDispatcher.dealWithOp(Unknown Source)

at com.fr.web.core.ReportDispatcher.dealWeblet(Unknown Source)

at com.fr.web.core.ReportDispatcher.dealWithRequest(Unknown Source)

at com.fr.web.controller.BaseRequestService.preview(Unknown Source)

at com.fr.web.controller.ReportRequestService.preview(Unknown Source)

at sun.reflect.GeneratedMethodAccessor1359.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at com.fr.third.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)

at com.fr.third.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)

at com.fr.third.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)

at com.fr.third.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:747)

at com.fr.third.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:676)

at com.fr.third.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)

at com.fr.third.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:938)

at com.fr.third.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:870)

at com.fr.third.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961)

at com.fr.third.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:863)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:652)

at com.fr.third.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at com.fr.decision.base.DecisionServletInitializer$6.doFilterInternal(Unknown Source)

at com.fr.third.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at com.fr.decision.base.DecisionServletInitializer$4.doFilter(Unknown Source)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at com.fr.third.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)

at com.fr.third.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)

at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)

at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:615)

at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)

at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:818)

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1626)

at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.lang.Thread.run(Thread.java:748)

FineReport 浪兔 发布于 2021-3-9 14:15 (编辑于 2021-3-9 14:33)
1min目标场景问卷 立即参与
回答问题
悬赏:3 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共3回答
最佳回答
0
zsh331Lv8专家互助
发布于2021-8-24 17:43

xlsx另存为xls再导入;

————————————

最佳回答
0
krystal033Lv7高级互助
发布于2021-3-9 14:18

换个浏览器导入试试

  • 浪兔 浪兔(提问者) 在其他电脑上面都可以.唯独那台电脑.IE,火狐.谷歌都不行.
    2021-03-09 14:19 
最佳回答
0
McGradyLv3见习互助
发布于2021-3-11 11:09

excel文件被损坏了,重新复制一下excel文件试试?

  • 4关注人数
  • 587浏览人数
  • 最后回答于:2021-8-24 17:43
    请选择关闭问题的原因
    确定 取消
    返回顶部