[jdom-interest] org.w3c.dom.Document not found

Jason Hunter jhunter at collab.net
Mon Jan 15 09:56:39 PST 2001

> when i compile this code, i'll get the following error:
> EchoXML.java:18: Class org.w3c.dom.Document not found in void
> main(java.lang.String[]).
>                 Document doc = dom.build (new File ("web.xml"));
> 1 error

Your classpath doesn't have the DOM classes in it.  Assuming you're
using Xerces, add xerces.jar to your classpath.


More information about the jdom-interest mailing list