monitorjbl / excel-streaming-reader

An easy-to-use implementation of a streaming Excel reader using Apache POI
Apache License 2.0
960 stars 345 forks source link

Continue to get the following error java.lang.NoClassDefFoundError: Failed resolution of: [Ljava/nio/file/attribute/FileAttribute; #195

Open AslanDevbrat opened 5 years ago

AslanDevbrat commented 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

java.lang.NoClassDefFoundError: Failed resolution of: [Ljava/nio/file/attribute/FileAttribute;

hqyhqyhq commented 1 month ago
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?