spreadsheet-cfml icon indicating copy to clipboard operation
spreadsheet-cfml copied to clipboard

requiresJavaLoader not defined Error on read spreadsheet

Open brakop opened this issue 5 years ago • 1 comments
trafficstars

Was just trying to get started here, and I was able to follow the guides to get the object instantiated, but as soon as I try to read just a regular old XLS file I was constantly getting: image

Which I was able to get around this just by setting that true on the previous line, but that seems like a hack. Here's the invocation I'm using: <cfset myQuery = MyXLS.read( src=importFile,format="query",headerRow=1 )>

I'm working now, but thought I would raise it in case it's meant to detect whether or not the Java Loader is required.

brakop avatar Mar 11 '20 19:03 brakop

Strange, the requiresJavaLoader variable should be set when you instantiate Spreadsheet.cfc. Can you post the code you are using to do that? Can you also try running this method and let me know the output:

<cfdump var=#MyXLS.getEnvironment()#">

cfsimplicity avatar Mar 12 '20 09:03 cfsimplicity