Annotatednoclassdeffounderror for XMLType when Using OracleXMLSave Class (Doc ID 416072.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Containers for J2EE - Version: 10.1.3.0.0 to 10.1.3.1.0 - Release: AS10gR3 to AS10gR3
Information in this document applies to any platform.
***Checked for relevance on 20-Aug-2011***

Symptoms

When trying to use the XML library class, OracleXMLSave, an error occurs trying to find the XMLType class.

oracle.classloader.util.AnnotatedNoClassDefFoundError:

Missing class: oracle.xdb.XMLType

Dependent class: xmlsave.xmlsave
Loader: xmlsave_test.web.webapp1:0.0.0
Code-Source: <ORACLE_HOME>/j2ee/<instance>/applications/<appname>/<module>/WEB-INF/classes/
Configuration: WEB-INF/classes/ in <ORACLE_HOME>/j2ee/<instance>/applications/<appname>/<module>/WEB-INF/classes

Depending on the configuration, the error may include a reference to a location where the library exists.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms