[jdom-interest] Can you help me !!!

Ravindra Reddy reddy at mahindrabt.com
Tue Sep 11 06:35:14 PDT 2001


Hi,


While executing my class which is having JDOM parser code for reading XML file, it is throwing JDOMException. 

Error Message form the server window which is thrown from the servlet :
===================================================
org.jdom.JDOMException: Error in building from stream: null
        at org.jdom.input.DOMBuilder.build(DOMBuilder.java:298)
        at GetVehicleProperties.getDocument(GetVehicleProperties.java:462)
        at GetVehicleProperties.service(GetVehicleProperties.java:83)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja
va:503)
        at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja
va:597)
        at org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java
:257)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja
va:503)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559
)
        at org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
n(HttpConnectionHandler.java:160)
        at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.j
ava:338)
        at java.lang.Thread.run(Thread.java:484)
Root cause: java.lang.NoSuchMethodError
        at org.jdom.input.DOMBuilder.buildTree(DOMBuilder.java:403)
        at org.jdom.input.DOMBuilder.buildTree(DOMBuilder.java:398)
        at org.jdom.input.DOMBuilder.build(DOMBuilder.java:281)
        at GetVehicleProperties.getDocument(GetVehicleProperties.java:462)
        at GetVehicleProperties.service(GetVehicleProperties.java:83)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja
va:503)
        at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja
va:597)
        at org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java
:257)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja
va:503)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559
)
        at org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
n(HttpConnectionHandler.java:160)
        at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.j
ava:338)
        at java.lang.Thread.run(Thread.java:484)


Environment:

I placed jdom.jar and xerces.jar in the lib directory of jakarta-tomcat. 
Jdk1.3 version installed in my system
Jre plugin also installed for some other purpose.

Note :But same xml class is executing at the console.  


Can any body help me in this regard.

Thanks in advance.
Ravindra.


*********************************************************
Disclaimer

This message (including any attachments) contains 
confidential information intended for a specific 
individual and purpose, and is protected by law. 
If you are not the intended recipient, you should 
delete this message and are hereby notified that 
any disclosure, copying, or distribution of this
message, or the taking of any action based on it, 
is strictly prohibited.

*********************************************************
Visit us at http://www.mahindrabt.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20010911/2d3be4d1/attachment.htm


More information about the jdom-interest mailing list