NoSuchMethoError in 10.2.0.1.0 (10.2.0.3.0 is OK)

Lately I've faced a problem of using Java stored procedure (defined in a package) in Oracle 10.2.0.1.0.
I'm receiving "ORA-29532: Java call terminated by uncaught Java exception:
java.lang.NoSuchMethodError" all the time while invoking the procedure, despite that classes from loaded jar were resolved successfully and are valid.
When load the same jar into the Oracle 10.2.0.3.0, and execute an identical stored procedure (actually the same), the error doesn't appear.
I've checked the version of java of both Oracle instances by calling stored java function, which merely reads property "java.version":
public class JavaVersion {
public static String get() {
String Version = System.getProperties().getProperty("java.version");
return Version;
And it's showed "1.4.2_04" for both Oracle instances, 10.2.0.1.0 and 10.2.0.3.0.
Do you have any suggestion how to make my classes work in the Oracle 10.2.0.1.0?
Thanks in advance.
P.S. If it might be anyhow important, my classes were compiled from Ant with Sun's javac (v 1.5) with parameters -source="1.4" and -target="1.4".
P.P.S. One more detail: Ora 10.2.0.1.0 runs on Solaris 5.10 and 10.2.0.3.0 runs on SuSe Linux ES 9
Message was edited by:
user603941

Finally, I've found a cause of the problem. And Oracle has nothing to it.
The problem had been caused by compilation of sources with jdk 1.5 compiler, which allowed the source, using the String.contains method available only since 1.5, in spite of setting target and source parameters to 1.4.
Anyway, thanks for everybody, who tried to help. ;-)
Regards

Similar Messages

Maybe you are looking for