Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 80923

Excel importer not working in 7.5.1?

$
0
0

Hi, just imported the latest Excel importer from the appstore in my 7.5.1 app.

 

Did clean my deployment directory...

 

I get a java compile error:

 

Buildfile: C:\Users\spl\Documents\Mendix\Schedule Tracker-main\deployment\build_core.xml

compile:
    [javac] Compiling 204 source files to C:\Users\spl\Documents\Mendix\Schedule Tracker-main\deployment\run\bin
    [javac] C:\Users\spl\Documents\Mendix\Schedule Tracker-main\javasource\excelimporter\reader\readers\ExcelReader.java:127: error: incompatible types: try-with-resources not applicable to variable type
    [javac]                                 POIFSFileSystem poifs = new POIFSFileSystem(content);
    [javac]                                                 ^
    [javac]     (POIFSFileSystem cannot be converted to AutoCloseable)
    [javac] C:\Users\spl\Documents\Mendix\Schedule Tracker-main\javasource\excelimporter\reader\readers\ExcelReader.java:184: error: incompatible types: try-with-resources not applicable to variable type
    [javac]                 try (POIFSFileSystem poifs = new POIFSFileSystem(content);
    [javac]                                      ^
    [javac]     (POIFSFileSystem cannot be converted to AutoCloseable)
    [javac] C:\Users\spl\Documents\Mendix\Schedule Tracker-main\javasource\excelimporter\reader\readers\ExcelReader.java:405: error: incompatible types: try-with-resources not applicable to variable type
    [javac]                                 POIFSFileSystem poifs = new POIFSFileSystem(content);
    [javac]                                                 ^
    [javac]     (POIFSFileSystem cannot be converted to AutoCloseable)
    [javac] C:\Users\spl\Documents\Mendix\Schedule Tracker-main\javasource\excelimporter\reader\readers\ExcelReader.java:419: error: incompatible types: try-with-resources not applicable to variable type
    [javac]                                 POIFSFileSystem poifs = new POIFSFileSystem(content);
    [javac]                                                 ^
    [javac]     (POIFSFileSystem cannot be converted to AutoCloseable)
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 4 errors

BUILD FAILED
C:\Users\spl\Documents\Mendix\Schedule Tracker-main\deployment\build_core.xml:25: Compile failed; see the compiler error output for details.

Total time: 4 seconds


Viewing all articles
Browse latest Browse all 80923

Trending Articles