Hi,
I am trying to add specific text to a pdf file using the apache pdfbox utility.
I have loaded following jars on to DB using following command.
loadjava -verbose -u user/pwd@ccoadev -jarasresource -genmissing -grant public -resolve pdfbox-2.0.11.jar
likewise I have loaded the following jars.
1. commons-logging-1.2.jar
2.fontbox-2.0.11.jar
3.pdfbox-debugger-2.0.11.jar
4.pdfbox-tools-2.0.11.jar
-> I am trying to load the source java file(Watermark.java) and getting the following error.
----------------
[occoadev@db43 pdfbox]$ loadjava -user user/pwd -grant public -resolve /dbstage/dba/edw/temp/24aug/pdfbox/Watermark.java
errors : source com/colorcon/pdf/pdfbox/Watermark
ORA-29534: referenced object BPSI.org/apache/pdfbox/pdmodel/PDDocument could not be resolved
The following operations failed
source com/colorcon/pdf/pdfbox/Watermark: resolution
exiting : Failures occurred during processing
[occoadev@db43 pdfbox]$
--------------------
BPSI :- this is the custom schema we use.
-----Structure of jars in the dba_objects table--
BPSI pdfbox-2.0.11.jar 4466217 JAVA RESOURCE
BPSI pdfbox-tools-2.0.11.jar 4466219 JAVA RESOURCE
BPSI pdfbox-debugger-2.0.11.jar 4466220 JAVA RESOURCE
BPSI pdfbox-app-2.0.11.jar 4466531 JAVA RESOURCE
-----------------------------------------------------
Kindly let me know if I am missing any step or loading the jars incorrectly.
Thanks,
Raj