Java complier error: ExcelImporter

0
I recently updated the ExcelImporter and now have the following error:   = new POIFSFileSystem(content);     [javac]                                                 ^     [javac]     (POIFSFileSystem cannot be converted to AutoCloseable)     [javac] C:\Users\sedj494\Predictive_Loan_Growth_Maint-Sprint37\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
asked
1 answers
2

Had to remove the old POI files. Works fine now.

answered