android poi xssf出错

org.apache.poi.openxml4j.opc.internal.marshallers.PackagePropertiesMarshaller.(PackagePropertiesMarshaller.java:41) at org.apache.poi.openxml4j.opc.OPCPackage.init(OPCPackage.java:161) at org.apache.poi.openxml4j.opc.OPCPackage.(OPCPackage.java:141) at org.apache.poi.openxml4j.opc.ZipPackage.(ZipPackage.java:72) at org.apache.poi.openxml4j.opc.OPCPackage.create(OPCPackage.java:394) at org.apache.poi.xssf.usermodel.XSSFWorkbook.newPackage(XSSFWorkbook.java:480) at org.apache.poi.xssf.usermodel.XSSFWorkbook.(XSSFWorkbook.java:247) at org.apache.poi.xssf.usermodel.XSSFWorkbook.(XSSFWorkbook.java:239) at com.gggd.sunny.testsystem.tools.FileCreate.createFile(FileCreate.java:32) at com.gggd.sunny.testsystem.MainActivity$3.onClick(MainActivity.java:317) at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:163) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:157) at android.app.ActivityThread.main(ActivityThread.java:5555) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:745) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:635) Caused by: java.lang.ClassNotFoundException: Didn't find class "javax.xml.stream.XMLEventFactory" on path: DexPathList[[zip file "/data/app/com.gggd.sunny.testsystem-2/base.apk"],nativeLibraryDirectories=[/data/app/com.gggd.sunny.testsystem-2/lib/arm64, /vendor/lib64, /system/lib64]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) at java.lang.ClassLoader.loadClass(ClassLoader.java:511) at java.lang.ClassLoader.loadClass(ClassLoader.java:469) at org.apache.poi.openxml4j.opc.internal.marshallers.PackagePropertiesMarshaller.(PackagePropertiesMarshaller.java:41)  at org.apache.poi.openxml4j.opc.OPCPackage.init(OPCPackage.java:161)  at org.apache.poi.openxml4j.opc.OPCPackage.(OPCPackage.java:141)  at org.apache.poi.openxml4j.opc.ZipPackage.(ZipPackage.java:72)  at org.apache.poi.openxml4j.opc.OPCPackage.create(OPCPackage.java:394)  at org.apache.poi.xssf.usermodel.XSSFWorkbook.newPackage(XSSFWorkbook.java:480)  at org.apache.poi.xssf.usermodel.XSSFWorkbook.(XSSFWorkbook.java:247)  at org.apache.poi.xssf.usermodel.XSSFWorkbook.(XSSFWorkbook.java:239)  at com.gggd.sunny.testsystem.tools.FileCreate.createFile(FileCreate.java:32)  at com.gggd.sunny.testsystem.MainActivity$3.onClick(MainActivity.java:317)  at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:163)  at android.os.Handler.dispatchMessage(Handler.java:102)  at android.os.Looper.loop(Looper.java:157)  at android.app.ActivityThread.main(ActivityThread.java:5555)  at java.lang.reflect.Method.invoke(Native Method)  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:745)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:635)  Suppressed: java.lang.ClassNotFoundException: javax.xml.stream.XMLEventFactory at java.lang.Class.classForName(Native Method) at java.lang.BootClassLoader.findClass(ClassLoader.java:781) at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) at java.lang.ClassLoader.loadClass(ClassLoader.java:504) ... 18 more

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问