Ok guys, I'm trying to extract the information of an .xlsx document using
POI API and the ss.usermodel (using an app I made), however when I tried to
upload the file to the server, it returned me these errors on the server's
tomcat console:

org.apache.poi.openxml4j.exceptions.InvalidFormatException: Can't read
content t
ypes part !
        at
org.apache.poi.openxml4j.opc.internal.ContentTypeManager.<init>(Conte
ntTypeManager.java:107)
        at
org.apache.poi.openxml4j.opc.internal.ZipContentTypeManager.<init>(Zi
pContentTypeManager.java:56)
        at
org.apache.poi.openxml4j.opc.ZipPackage.getPartsImpl(ZipPackage.java:
136)
        at
org.apache.poi.openxml4j.opc.OPCPackage.getParts(OPCPackage.java:585)

        at org.apache.poi.openxml4j.opc.OPCPackage.open(OPCPackage.java:222)
        at
org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.ja
va:63)
        at com.msights.core.utils.ExcelFile.loadFile(ExcelFile.java:84)
        at com.msights.core.utils.GroupLoader.loadFiles(GroupLoader.java:50)
        at
com.msights.core.validation.ValidationModule.run(ValidationModule.jav
a:154)
        at java.lang.Thread.run(Thread.java:595)

Any idea of what's happening? Uploading .XLS files work fine. Extracting
info on my local machine works fine, as well.

Reply via email to