Loading Java in oracle db


#1

Hi,

we want to load aspose.pdf-11.8.0.jar info our oracle database 12.2.0.1 with jvm 1.8 but we have many class that want resolve.
One of the class that does not resolve is com.aspose.pdf.document and looking at the logs i get to aspose.pdf.internal.z178 which it gives this error "ORA-29521: referenced name com/aspose/pdf/internal/ms/System/Collections/Hashtable could not be found".

I looked in the jar but i could not find this class definition.
So my question is, where can i find this class?

For information i looked up for a solution but i could not find one about thi issue.

I hope you can help me.

Thanks.


#2

@Gimbo71

Thank you for contacting support.

Please note that you are currently working with an outdated version of the API whereas support is provided based on latest available version. Therefore please try loading Aspose.PDF for Java 19.6 which includes more features and bug fixes.

If you still face any issue then please mention which command are you using to load the JAR file. You may also try to use below command and then share your kind feedback with us.

loadjava -user oraclename/oraclepassword -verbose -resolver "((* MYSCHEMA) (* public) (* -))" -force -resolve aspose-pdf-19.6.jar

#3

Hello,

i thank you for your support, i was missing the -force parameter and the 11.8.0 version was loaded correctly.
Now i’m have a NoClassDefFoundError when i invoke new Document but probably i know where the problem is. I will let you know if i have other issues.

Thanks again for your help.


#4

@Gimbo71

Thank you for your kind feedback.

Please feel free to contact us if you need any further assistance.