XML-DBMS: Frequently asked questionsVersions 1.x and 2.0: XML-DBMS returns a NoClassFoundError exception.For example, the Transfer sample in version 1.x returns the following exception:
Exception in thread "main" java.lang.NoClassFoundError:
oracle/xml/parser/XMLParser
at Transfer .toDBMS(Transfer.java:124)
at Transfer.main(Compiled Code)
The most common causes of this are:
You do not have all the software you need to run XML-DBMS. For example,
you do not have an XML parser. For a list of the software required to run
XML-DBMS, see the readme.htm file in the directory in which you installed XML-DBMS.
Your CLASSPATH variable is not set correctly. The CLASSPATH variable
tells Java where to look for classes. It must point to all of the software
needed to run XML-DBMS, including xmldbms.jar (version 1.x) or xmldbms20.jar (version 2.). For information on how to set
your CLASSPATH variable, see the Java documentation.
Back to the XML-DBMS FAQs
|
|