views:

29

answers:

1

my code looks like that:

fileoutput = new FileOutputStream(productSheetFilePath);

m_psWorkBook.write(fileoutput);

where m_psWorkBook is of type XSSFWorkbook, when calling the "write" method a NoClassDefFoundError exeption is throws, does anybody ever had that?

Thanks,

Tamir

A: 

The solution is to use ooxml-schemas-1.0 .jar instead of this one poi-ooxml-schemas-3.6.jar

Tamir