Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

requiresJavaLoader not defined Error on read spreadsheet #180

Open
brakop opened this issue Mar 11, 2020 · 1 comment
Open

requiresJavaLoader not defined Error on read spreadsheet #180

brakop opened this issue Mar 11, 2020 · 1 comment

Comments

@brakop
Copy link

brakop commented Mar 11, 2020

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.

@cfsimplicity
Copy link
Owner

cfsimplicity commented Mar 12, 2020

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()#">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants