You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running Railo 4.2.1.000 final and I get an error when trying to read an xlsx file into a query:
Run the cfspreadsheet-examples/Read_Spreadsheet_Into_Query.cfm - works great.
Change the filename to read from "someExistingFile.xls" to "someExistingFile.xlsx".
Run again, get this error:
"Could not initialize class org.apache.poi.openxml4j.opc.internal.unmarshallers.PackagePropertiesUnmarshaller"
The text was updated successfully, but these errors were encountered:
I'm not sure you can just rename an .xls file to .xlsx and expect it to work. The underlying file format is completely different. Have you tried actually creating an .xlsx file in Excel (or whatever you have) and then running it against that file?
I didn't actually rename any files. The examples folder that comes in the download contains the same file in both the .xls and .xlsx format, but none of the samples actually used the .xlsx file. When I changed the Read_Spreadsheet_Into_Query.cfm code to read the other file instead, I get the error. This also happens when I try to read in my own .xlsx file. If I save it as an .xls it works, but not .xlsx format.
I'm running Railo 4.2.1.000 final and I get an error when trying to read an xlsx file into a query:
Run the cfspreadsheet-examples/Read_Spreadsheet_Into_Query.cfm - works great.
Change the filename to read from "someExistingFile.xls" to "someExistingFile.xlsx".
Run again, get this error:
"Could not initialize class org.apache.poi.openxml4j.opc.internal.unmarshallers.PackagePropertiesUnmarshaller"
The text was updated successfully, but these errors were encountered: