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

Sebouh sebouh at dcsoftintl.com
Mon Jan 15 06:15:01 PST 2001

Hi All

i have jdom-b5 on my pc, my system

i have this example

import java.io.*;
import org.jdom.*;
import org.jdom.input.*;
import org.jdom.output.*;

public class EchoXML
    public static void main( String[] args )
	try {
		DOMBuilder dom = new DOMBuilder();
		Document doc = dom.build (new File ("web.xml"));
		XMLOutputter xmlout = new XMLOutputter("%%%%%");
		xmlout.output (doc, System.out);
	catch (Exception ex) {

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

  <Name> Sebouh Hatsakordzian </Name>
  <Job Title> Software Engineer </Job Title>
  <Company> DC Soft SAL </Company>
  <Telephone> +961-1-385425 </Telephone>
  <Fax> +961-1-385428 </Fax>
  <Mailbox> 11-0337 </Mailbox>
  <City> Beirut </City>
  <Country> Lebanon </Country>
  <Email> mailto:sebouh at dcsoftintl.com </Email>
  <URL> http://www.dcsoftintl.com </URL>

More information about the jdom-interest mailing list