Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

read data from an XML file

 
ram kashi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat ignores the environment CLASSPATH - see the on-line documentation "Class Loader How to" that Tomcat installs on where to put JAR files.
Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic