We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Apose.cells for Java and jdom


Today I made use of Cells in jws and, all of a sudden, I saw a message about missing jdom.

I guess some sort of error triggered this message but am I wrong in thinking that jdom is not necessary and that this message should not appear?

It appeared when I tried to create an xlsx file.



Here is the thrown exception:

Exception in thread “main” java.lang.NoClassDefFoundError: org/dom4j/io/OutputFormat

at com.aspose.cells.aH.l(Unknown Source)

at com.aspose.cells.aH.a(Unknown Source)

at com.aspose.cells.aQ.a(Unknown Source)

at com.aspose.cells.Workbook.save(Unknown Source)

at com.it2be.data.Excel.main(Excel.java:88)

It occurs with 2007 format


Well, there are certain features especially for MS Excel 2007 operations that may demand dom4j-1.6.1.jar file, so you should use this file with the main Aspose.Cells.jar file. You will no longer get this exception if you use dom4j jar file that normally comes with the main library file (Aspose.Cells.jar).

Thank you.