Skip to content

requiresJavaLoader not defined Error on read spreadsheet #180

Description

@brakop

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.

Activity

  1. cfsimplicity commented on Mar 12, 2020

    @cfsimplicity
    Owner

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions