xmlbeans could not locate schema resource when repacking xml beans jar into my own jar
问题 I am writing an application that needs to be contained in a jar. The program needs to validate and grab data from an excel spreadsheet. Therefore I am using the Apache POI libraries which are dependent on xmlbeans jar. My problem is that when I include the xmlbeans jar in my jar using ant <jar ... <zipfileset src="${xmlbeans.jar}" includes="**/*" /> Build and then run the jar, I get the following error: Caused by: org.apache.xmlbeans.SchemaTypeLoaderException: XML-BEANS compiled schema: Could