Hi Aspose,
I’m using below simple code to parse my pdf:
String filePath = "D:\\Tuyen\\Document\\Learning Single-page Web Application Development.pdf";
try (InputStream inputStream = new FileInputStream(filePath);) {
Document pdfDocument = new Document(inputStream);
}
However I have this below exception:
Exception in thread “main” class com.aspose.pdf.exceptions.InvalidPdfFileFormatException: Startxref not found
com.aspose.pdf.internal.p107.z17.m16(Unknown Source)
The attached document can be viewed normally in in Adobe. Can you please have a look? Thank you.
Regards,
TuyenLearning Single-page Web Application Development.pdf (200.0 KB)