Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> loadjava and NoClassDefFoundError

loadjava and NoClassDefFoundError

From: leostar10 <leostar10_at_gmail.com>
Date: 27 Oct 2005 12:34:13 -0700
Message-ID: <1130441653.609945.10590@g43g2000cwa.googlegroups.com>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US