Org, apache xmlbeans. SchemaTypeLoaderException: always resolve a type for handle _XY_Q=space | R=space@http://www.w3.org/XML/1998/namespace (schemaorg_apache_xmlbeans. System. SF1327CCA741569E70F9CA8C9AF9B44B2. Cttext7f5btype) - code 13
At org, apache xmlbeans. Impl. Schema. SchemaTypeSystemImpl $XsbReader. ReadHandle (SchemaTypeSystemImpl. Java: 2025) ~ [xmlbeans - server. The jar: na]
At org, apache xmlbeans. Impl. Schema. SchemaTypeSystemImpl $XsbReader. ReadTypeRef (SchemaTypeSystemImpl. Java: 2099) ~ [xmlbeans - server. The jar: na]
At org, apache xmlbeans. Impl. Schema. SchemaTypeSystemImpl $XsbReader. LoadAttribute (SchemaTypeSystemImpl. Java: 2926) ~ [xmlbeans - server. The jar: na]
At org, apache xmlbeans. Impl. Schema. SchemaTypeSystemImpl $XsbReader. ReadAttributeData (SchemaTypeSystemImpl. Java: 2918) ~ [xmlbeans - server. The jar: na]
At org, apache xmlbeans. Impl. Schema. SchemaTypeSystemImpl $XsbReader. FinishLoadingType (SchemaTypeSystemImpl. Java: 2535) ~ [xmlbeans - server. The jar: na]
At org, apache xmlbeans. Impl. Schema. SchemaTypeSystemImpl. ResolveHandle (SchemaTypeSystemImpl. Java: 3511) ~ [xmlbeans - server. The jar: na]
At org, apache xmlbeans. SchemaComponent $Ref. GetComponent (SchemaComponent. Java: 113) ~ [xmlbeans - server. The jar: server - r1364789]
At org, apache xmlbeans. SchemaType $Ref. Get (SchemaType. Java: 872) ~ [xmlbeans - server. The jar: server - r1364789]
At org, apache xmlbeans. Impl. Schema. SchemaPropertyImpl. GetType (SchemaPropertyImpl. Java: 92) ~ [xmlbeans - server. The jar: na]
At org, apache xmlbeans. Impl. Schema. SchemaTypeImpl. CreateElementType (SchemaTypeImpl. Java: 995) ~ [xmlbeans - server. The jar: na]
At org, apache xmlbeans. Impl. Values. XmlObjectBase. Create_element_user (XmlObjectBase. Java: 938) ~ [xmlbeans - server. The jar: na]
At org, apache xmlbeans. Impl. Store. Xobj. GetUser (Xobj. Java: 1675) ~ [xmlbeans - server. The jar: na]
At org, apache xmlbeans. Impl. Store. Cur. GetUser (Cur. Java: 2659) ~ [xmlbeans - server. The jar: na]
At org, apache xmlbeans. Impl. Store. Cur. GetObject (Cur. Java: 2652) ~ [xmlbeans - server. The jar: na]
At org, apache xmlbeans. Impl. Store. Cursor. _getObject (Cursor. Java: 995) ~ [xmlbeans - server. The jar: na]
At org, apache xmlbeans. Impl. Store. Cursor. GetObject (Cursor. Java: 2904) ~ [xmlbeans - server. The jar: na]
The at org, apache poi. XWPF. Usermodel. XWPFParagraph. & lt; init> (XWPFParagraph. Java: 104) ~ [poi - ooxml - 3.14. The jar: 3.14]
The at org, apache poi. XWPF. Usermodel. XWPFDocument. OnDocumentRead (XWPFDocument. Java: 176) ~ [poi - ooxml - 3.14. The jar: 3.14]
The at org, apache poi. POIXMLDocument. Load (POIXMLDocument. Java: 178) ~ [poi - ooxml - 3.14. The jar: 3.14]
The at org, apache poi. XWPF. Usermodel. XWPFDocument. & lt; init> (XWPFDocument. Java: 131) ~ [poi - ooxml - 3.14. The jar: 3.14]
Business background is need for a known docx file bookmarks to replace, is run by the local, had been submitted to the department to Linux server fault,
Native code:
The file=new file (filename);
Fis=new FileInputStream (file);
Enclosing the document=new XWPFDocument (fis);//the error
Hope to have a great god solve under appreciated
CodePudding user response:
My is published to the Windows error on weblogic, local no problem, all sorts of baidu also failed to solve, finally change the way, feeling problem in tomcat and weblogic load resources is not the same as the orderCodePudding user response:
https://blog.csdn.net/weixin_43893430/article/details/102979370CodePudding user response:
WEB - INFO below plus a weblogic. XML, content are as follows:XMLNS: xsi="http://www.w3.org/2001/XMLSchema-instance"
Xsi: schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
http://www.bea.com/ns/weblogic/90
http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd "& gt;
<-- - the web - inf - classes> True-- - web - inf - classes>
-->True
<-- - application - packages>Org.apache.com mons. Lang. * & lt;/package - name> Org. Joda. Time. * & lt;/package - name> Antlr. * & lt;/package - name> Org. Hibernate. * & lt;/package - name> Javax.mail. Persistence. * & lt;/package - name> Com. Fasterxml. Jackson. * & lt;/package - name> Org, the apache poi. * & lt;/package - name> Org, apache xmlbeans. * & lt;/package - name> Com. Deepoove. Poi. * & lt;/package - name> Javax.mail. Validation. * & lt;/package - name> Org, apache CXF. * & lt;/package - name> Org. Slf4j. * & lt;/package - name> Org.apache.com mons. IO. * & lt;/package - name> Schemaorg_apache_xmlbeans. System. SXMLCONFIG. * & lt;/package - name> Schemaorg_apache_xmlbeans. System. SXMLLANG. * & lt;/package - name> Schemaorg_apache_xmlbeans. System. SXMLSCHEMA. * & lt;/package - name> nullnullnullnullnullnullnullnull