Open AslanDevbrat opened 5 years ago
InputStream is = null; try { is = new FileInputStream(new File(DOC_PATH)); } catch (FileNotFoundException e) { e.printStackTrace(); } Workbook workbook = StreamingReader.builder() .rowCacheSize(1) .bufferSize(14096) .sstCacheSize(14857) .open(is); for(Sheet sheet : workbook) Log.i(String.valueOf(this),sheet.getSheetName());
This code works upto .sstCacheSize(14875). But it give the following error in the following error in .open(is) line The error is
.sstCacheSize(14875).
.open(is)
java.lang.NoClassDefFoundError: Failed resolution of: [Ljava/nio/file/attribute/FileAttribute;
java.lang.NoClassDefFoundError: Failed resolution of: [Ljava/nio/file/attribute/FileAttribute; at de.gmuth.ipp.client.IppPrinter.<init>(IppPrinter.kt:37)
I had problem too.How solved it?
This code works upto
.sstCacheSize(14875).
But it give the following error in the following error in.open(is)
line The error isjava.lang.NoClassDefFoundError: Failed resolution of: [Ljava/nio/file/attribute/FileAttribute;