java.lang.NoSuchMethodError: oracle.xml.parser.schema.XSDBuilder.build
181239Jun 13 2006 — edited Jun 14 2006The following code works fine with JDeveloper 10.1.2 with the xmlparserv2.jar file provided with JDeveloper.
=====
XSDBuilder schemaBuilder = new XSDBuilder();
URL xsdURL = new URL(schemaUrl);
XMLSchema xmlschema = (XMLSchema) schemaBuilder.build(xsdURL);
========
However when I try to put this in Oracle Application Server 10.1.2.0.2, I get the following error:
====
java.lang.NoSuchMethodError: oracle.xml.parser.schema.XSDBuilder.build
====
It seems like the oracle version is different in app server 10.1.2.0.2 that that of JDeveloper 10.1.2.
When we rename the parser, the application works BUT the Oracle Enterprise Manager does not work properly as it depends on the latest version of the parser.
Please help.
Thanks,
Madhav