I'm using either pdfbox-app-2.0.18.jar or pdfbox-app-2.0.17.jar.
From the example here, I have this code below :
try (FileOutputStream fos = new FileOutputStream(signedFile);
PDDocument doc = Loader.loadPDF(inputFile)) {
// code
}
After executing this code, I'm getting this error given below :
org.apache.pdfbox.Loader is not found
How to resolve this issue ?
The Loader class has been added January 25, 2020. SVN log
It's not part of version 2.0.18, as it is not in this file: pdfbox-2.0.18-src.zip
So this class is simply too new and that's why you cannot use it!