Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I would like to create a routine using the library Apache PDFBox
™.
I get an error with using "import org.Apache.pdfbox" in the code.
Thanks for your help !
Your import is incorrect. Apache shouldn't be capitalised. The import should have this structure....
import org.apache.pdfbox.pdmodel.PDDocument;
As seen here....
You need to add the library to the routine like this....
https://help.talend.com/r/en-US/7.2/studio-user-guide-open-studio-for-data-integration/editing-user-routine-libraries
Then your Java imports will work.
Thanks for the link.
I did it but I still get the issue.
Below the screenshots where we can see the library has been installed:
Your import is incorrect. Apache shouldn't be capitalised. The import should have this structure....
import org.apache.pdfbox.pdmodel.PDDocument;
As seen here....
Many thanks.
It's working fine !