vandeseer / easytable

Small table drawing library built upon Apache PDFBox
MIT License
239 stars 91 forks source link

Exception in case calling new PDDocument() #141

Closed akashaev closed 2 years ago

akashaev commented 2 years ago

After calling of PDDocument document = new PDDocument(); I'm getting the following error: java.lang.NoClassDefFoundError: Failed resolution of: Ljava/awt/Point; at org.apache.pdfbox.pdmodel.PDDocument.(PDDocument.java:107)

which points to the following code line: WritableRaster raster = Raster.createBandedRaster(DataBuffer.TYPE_BYTE, 1, 1, 3, new Point(0, 0));

akashaev commented 2 years ago

Android specific issue due to java.awt dependency