Apache pdfbox in headless client

Questions and answers on designing your Servoy solutions, database modelling and other 'how do I do this' that don't fit in any of the other categories

Apache pdfbox in headless client

Postby lwjwillemsen » Mon Jul 05, 2021 2:31 pm

Hi,

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?

Regards,
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 680
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Return to Programming with Servoy

Who is online

Users browsing this forum: No registered users and 12 guests