编程

当前位置:澳门新莆京娱乐官网 > 编程 > poi求助

poi求助

来源:http://www.drgigabytes.com 作者:澳门新莆京娱乐官网 时间:2019-12-28 22:21
org.apache.xmlbeans.SchemaTypeLoaderException:Cannotresolvetypeforhandle_XY_Q=space|R=space@(schemaorg_apache_xmlbeans.system.sF1327CCA741569E70F9CA8C9AF9B44B2.cttext7f5btype)-code13atorg.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl$XsbReader.readHandle(SchemaTypeSystemImpl.java:2025)~[xmlbeans-2.6.0.jar:na]atorg.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl$XsbReader.readTypeRef(SchemaTypeSystemImpl.java:2099)~[xmlbeans-2.6.0.jar:na]atorg.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl$XsbReader.loadAttribute(SchemaTypeSystemImpl.java:2926)~[xmlbeans-2.6.0.jar:na]atorg.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl$XsbReader.readAttributeData(SchemaTypeSystemImpl.java:2918)~[xmlbeans-2.6.0.jar:na]atorg.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl$XsbReader.finishLoadingType(SchemaTypeSystemImpl.java:2535)~[xmlbeans-2.6.0.jar:na]atorg.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.resolveHandle(SchemaTypeSystemImpl.java:3511)~[xmlbeans-2.6.0.jar:na]atorg.apache.xmlbeans.SchemaComponent$Ref.getComponent(SchemaComponent.java:113)~[xmlbeans-2.6.0.jar:2.6.0-r1364789]atorg.apache.xmlbeans.SchemaType$Ref.get(SchemaType.java:872)~[xmlbeans-2.6.0.jar:2.6.0-r1364789]atorg.apache.xmlbeans.impl.schema.SchemaPropertyImpl.getType(SchemaPropertyImpl.java:92)~[xmlbeans-2.6.0.jar:na]atorg.apache.xmlbeans.impl.schema.SchemaTypeImpl.createElementType(SchemaTypeImpl.java:995)~[xmlbeans-2.6.0.jar:na]atorg.apache.xmlbeans.impl.values.XmlObjectBase.create_element_user(XmlObjectBase.java:938)~[xmlbeans-2.6.0.jar:na]atorg.apache.xmlbeans.impl.store.Xobj.getUser(Xobj.java:1675)~[xmlbeans-2.6.0.jar:na]atorg.apache.xmlbeans.impl.store.Cur.getUser(Cur.java:2659)~[xmlbeans-2.6.0.jar:na]atorg.apache.xmlbeans.impl.store.Cur.getObject(Cur.java:2652)~[xmlbeans-2.6.0.jar:na]atorg.apache.xmlbeans.impl.store.Cursor._getObject(Cursor.java:995)~[xmlbeans-2.6.0.jar:na]atorg.apache.xmlbeans.impl.store.Cursor.getObject(Cursor.java:2904)~[xmlbeans-2.6.0.jar:na]atorg.apache.poi.xwpf.usermodel.XWPFParagraph.init(XWPFParagraph.java:104)~[poi-ooxml-3.14.jar:3.14]atorg.apache.poi.xwpf.usermodel.XWPFDocument.onDocumentRead(XWPFDocument.java:176)~[poi-ooxml-3.14.jar:3.14]atorg.apache.poi.POIXMLDocument.load(POIXMLDocument.java:178)~[poi-ooxml-3.14.jar:3.14]atorg.apache.poi.xwpf.usermodel.XWPFDocument.init(XWPFDocument.java:131)~[poi-ooxml-3.14.jar:3.14]

业务背景是需要对一个已知docx文件里的书签进行替换,本地是能跑通过的,部到linux服务器上就一直报这个错。本地代码:

file=newFile(filename);fis=newFileInputStream(file);this.document=newXWPFDocument(fis);//这句报错

希望能有大神解决下感激不尽

本文由澳门新莆京娱乐官网发布于编程,转载请注明出处:poi求助

关键词:

上一篇:没有了

下一篇:没有了