Page 1 of 1

Apache pdfbox in headless client

PostPosted: Mon Jul 05, 2021 2:31 pm
by lwjwillemsen

We are using the Apache PDFbox library for many years now from the Servoy Smart Client (Servoy 7 and Servoy 2020.03).
The pdfbox-1.8.16.jar we use is located in the application_server\beans directory.

Now I want to use that library from an Servoy Headless Client (SHC) Servoy 2020.03.
The exception that follows:

2021-07-05 12:06:26.082 Error : Exception encountered / InternalError: Can't find method org.apache.pdfbox.pdmodel.PDDocument.load(string). (svy_utilities/scopes/globals/svy_utl_test#2684).

Is the beans directory added to the classpath for a SHC?