I'm using Aspose.Cells for java 11.10.0 for jdk6 and I'm trying to create a Workbook:
Workbook workbook = new Workbook();
but I'm getting the following exception when running then code on Solaris:
Caused by: java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironmentat java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at java.awt.GraphicsEnvironment.createGE(Unknown Source) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source) at java.awt.image.BufferedImage.createGraphics(Unknown Source) at java.awt.image.BufferedImage.getGraphics(Unknown Source) at com.aspose.cells.b.a.b.i.a(Unknown Source) at com.aspose.cells.xY.a(Unknown Source) at com.aspose.cells.WorksheetCollection.W(Unknown Source) at com.aspose.cells.WorksheetCollection.<init>(Unknown Source) at com.aspose.cells.Workbook.<init>(Unknown Source)</pre><pre style="word-wrap: break-word; white-space: pre-wrap;"><br></pre><pre style="word-wrap: break-word; white-space: pre-wrap;"><br></pre><pre style="word-wrap: break-word; white-space: pre-wrap;"><br></pre><pre style="word-wrap: break-word; white-space: pre-wrap;">How can I fix this issue?</pre><pre style="word-wrap: break-word; white-space: pre-wrap;">Thanks,
Mariusz Pala