I apologize if this has been answered before but Ii'm stuck with this problem.
Here it goes: I have a Java program the creates an Excel workbook and writes data to it,
the Java program works fine, I'm trying to import the program into Oracle using the LOADJAVA
utility with the resolve option but I keep getting this error:
ORA-29534: referenced object HR.org/apache/poi/hssf/usermodel/HSSFWorkbook could not be resolved
The following operations failed
I previously loaded all necessary jar files using the LOADJAVA utility including poi-3.8-20120326, poi-ooxml-3.8-beta5 ,poi-ooxml-schemas-3.8-20120326,xmlbeans-2.3.0 ,dom4j-1.6.1.
Has anyone encountered this, can you tell me how to resolve this? I appreciate your assistance.
The "could not be resolved" means the class in question won't compile. Mostly likely because one of those other jars itself couldn't be resolved. Did you check the LOADJAVA output for those jars too? You might have other ORA-29534 errors and perhaps one or more ORA-29521 errors: that one's helpful because it will point to some dependent class which you haven't loaded.
Alternatively you could try the
-genmissingargument when you call LOADJAVA. Find out more.