Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.lang.NoSuchMethodError: oracle.xml.parser.schema.XSDBuilder.build

181239Jun 13 2006 — edited Jun 14 2006
The 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 12 2006
Added on Jun 13 2006
3 comments
3,828 views