[
https://issues.apache.org/jira/browse/PDFBOX-4960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17197345#comment-17197345
]
Tilman Hausherr commented on PDFBOX-4960:
-----------------------------------------
In 2.0.21 there's only load().
What happpens if you load the file into a byte array, then load from a byte?
PDDocument.load(IOUtils.toByteArray(new FileInputStream(file)))
(if it doesn't work, separate the steps to see if it hangs in load())
How does your pom.xml look like? (or whatever configuration you use to build)
> PdDcoumnt.load is not returning anything
> ----------------------------------------
>
> Key: PDFBOX-4960
> URL: https://issues.apache.org/jira/browse/PDFBOX-4960
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 2.0.21
> Reporter: ashok reddy
> Priority: Major
>
> i am using java, when i am trying to read pdf it is working in
> localserver.But when i am trying to create a jar and make it work in ec2
> instance , I am able to locate the file in ec2 instance as well, but
> pdDocument.load(file) doesnot return anything it is stuck
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]