Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> loadjava and NoClassDefFoundError
Hi Guys,
This is what is happening. I have loaded a bunch of 3rd party jars using loadjava and all went fine. When I do select dbms_java.longname(object_name), status from user_objects where object_type='JAVA CLASS'; I see all the 3rd party class files within the jar and all are valid.
Now, I hava a standalone program that uses one of the classes within the jar. I wrote the Call specification and the Java Stored procedure got created fine. The problem is that at runtime, I get a NoClassDefFoundError. If I comment out the import statement which uses that 3rd party class file and also all the occurences of that Class, everything works fine. So I guess I need to make that class 'visible' to the Standalone program. I thought that making a Valid Schema object should get it working, but its not. What am I missing here?
Thanks for any help. Received on Thu Oct 27 2005 - 14:34:13 CDT
![]() |
![]() |