This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Servlets and the fly likes read data from an XML file Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "read data from an XML file" Watch "read data from an XML file" New topic
Author

read data from an XML file

ram kashi
Greenhorn

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.(OracleXMLQuery.java:155)
at ReadXML.service(ReadXML.java:23)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
.....etc
I have set the classpath to xmlparserv2.jar, oraclexsql.jar, xsu12.jar files.
Can anyone help me in this regard.........!!!???
Thanks
Ram
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12271
    
    1
Tomcat ignores the environment CLASSPATH - see the on-line documentation "Class Loader How to" that Tomcat installs on where to put JAR files.
Bill


Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: read data from an XML file
 
Similar Threads
Reading a text file from a jar with an applet
reading multiple type of contents
Placing XML on the classpath
Read from Jar
reading an xml file in the web services java file