<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>While executing my class which is having JDOM
parser code for reading XML file, it is throwing JDOMException. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Error Message form the server window which is
thrown from the servlet :</FONT></DIV>
<DIV><FONT face=Arial
size=2>===================================================</FONT></DIV>
<DIV><FONT face=Arial size=2>org.jdom.JDOMException: Error in building from
stream: null<BR> at
org.jdom.input.DOMBuilder.build(DOMBuilder.java:298)<BR>
at
GetVehicleProperties.getDocument(GetVehicleProperties.java:462)<BR>
at
GetVehicleProperties.service(GetVehicleProperties.java:83)<BR>
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)<BR>
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja<BR>va:503)<BR>
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja<BR>va:597)<BR>
at
org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java<BR>:257)<BR>
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)<BR>
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja<BR>va:503)<BR>
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559<BR>)<BR>
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio<BR>n(HttpConnectionHandler.java:160)<BR>
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.j<BR>ava:338)<BR>
at java.lang.Thread.run(Thread.java:484)<BR>Root cause:
java.lang.NoSuchMethodError<BR> at
org.jdom.input.DOMBuilder.buildTree(DOMBuilder.java:403)<BR>
at
org.jdom.input.DOMBuilder.buildTree(DOMBuilder.java:398)<BR>
at
org.jdom.input.DOMBuilder.build(DOMBuilder.java:281)<BR>
at
GetVehicleProperties.getDocument(GetVehicleProperties.java:462)<BR>
at
GetVehicleProperties.service(GetVehicleProperties.java:83)<BR>
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)<BR>
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja<BR>va:503)<BR>
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja<BR>va:597)<BR>
at
org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java<BR>:257)<BR>
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)<BR>
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja<BR>va:503)<BR>
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559<BR>)<BR>
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio<BR>n(HttpConnectionHandler.java:160)<BR>
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.j<BR>ava:338)<BR>
at java.lang.Thread.run(Thread.java:484)<BR></DIV></FONT>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Environment:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I placed jdom.jar and xerces.jar in the lib
directory of jakarta-tomcat. </FONT></DIV>
<DIV><FONT face=Arial size=2>Jdk1.3 version installed in my system</FONT></DIV>
<DIV><FONT face=Arial size=2>Jre plugin also installed for some other
purpose.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Note :But same xml class is executing at the
console. </FONT> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Can any body help me in this regard.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Thanks in advance.</FONT></DIV>
<DIV><FONT face=Arial size=2>Ravindra.</FONT></DIV>
<DIV> </DIV></BODY></HTML>
<html>
<br>
*********************************************************<br>
Disclaimer<br>
<br>
This message (including any attachments) contains <br>
confidential information intended for a specific <br>
individual and purpose, and is protected by law. <br>
If you are not the intended recipient, you should <br>
delete this message and are hereby notified that <br>
any disclosure, copying, or distribution of this<br>
message, or the taking of any action based on it, <br>
is strictly prohibited.<br>
<br>
*********************************************************<br>
Visit us at http://www.mahindrabt.com<br>
<br>
</html>