File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes read data from an XML file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "read data from an XML file" Watch "read data from an XML file" New topic

read data from an XML file

ram kashi

Joined: Dec 08, 2003
Posts: 1
Hi all,
I am trying to read data from an XML file. For that i am using oracle.xml.sql.query.OracleXMLQuery class. When i using this ...........i am getting the follwing error.
java.lang.NoClassDefFoundError: oracle/sql/Datum
at oracle.xml.sql.query.OracleXMLQuery.(
at ReadXML.service(
at javax.servlet.http.HttpServlet.service(
I have set the classpath to xmlparserv2.jar, oraclexsql.jar, xsu12.jar files.
Can anyone help me in this regard.........!!!???
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13035
Tomcat ignores the environment CLASSPATH - see the on-line documentation "Class Loader How to" that Tomcat installs on where to put JAR files.
I agree. Here's the link:
subject: read data from an XML file
It's not a secret anymore!