[
https://issues.apache.org/jira/browse/PDFBOX-3877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16097389#comment-16097389
]
Tilman Hausherr commented on PDFBOX-3877:
-----------------------------------------
You forgot commons-logging.
https://pdfbox.apache.org/2.0/dependencies.html
And getting a PDDocument object is much easier:
{code}
PDDocument doc = PDDocument.load(new File("bus.pdf");
{code}
> PDFParser pdfParser = new PDFParser(new RandomAccessFile(new File("bus.pdf"),
> "r"));
> ------------------------------------------------------------------------------------
>
> Key: PDFBOX-3877
> URL: https://issues.apache.org/jira/browse/PDFBOX-3877
> Project: PDFBox
> Issue Type: Bug
> Environment: JDK 8
> Reporter: Emam Hasan
> Attachments: pdfbox.png
>
>
> when I run my project to extract pdf data output show an error on this line
> "PDFParser pdfParser = new PDFParser(new RandomAccessFile(new
> File("bus.pdf"), "r"));" pleae help me to figure out this problem.
> Best Regards,
> Emam Hasan
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]