B4J Question B4JPackager 11 and PDFBox [Solved]

Nicola Ciaramellano

Member
Licensed User
Hi All,
I'm trying the wrapper for PDFBox created from @fixit30 here and it seems to work very well, but B4JPackager does not include it automatically in the stand-alone package.
I think that it requires addidional json settings, something similar to jpoi as reported here
Any ideas?
Thanks
 

Nicola Ciaramellano

Member
Licensed User
When it was executed in stand-alone mode, the specific error is this:

B4X:
 java.lang.RuntimeException: java.io.IOException: Error: could not find resource 'org/apache/pdfbox/resources/PDFTextStripper.properties' on classpath.

Nobody reported the same problem?
 
Upvote 0

Nicola Ciaramellano

Member
Licensed User
The jar file of this library is missing.
Hi Erel, thank you very much for your reply.
In the Main module there is the directive:

#AdditionalJar: pdfbox-app-1.8.10.jar

In the GUI it works perfect.

Is there something else to add to have the library included in stand-alone mode?
Thanks
 
Upvote 0

DonManfred

Expert
Licensed User
Upvote 0
Top