既然知道找不到类,那你就把类包加进工程中试下啦!
以下是小弟写的一个小例,用的是jdom.jar包,放到工程中即可
import org.jdom.input.*;
import org.jdom.*;
import java.util.*;
import java.io.*;
import org.jdom.output.*;
public class  XMLExample3
{
public static void main(String[] args) 
{
Element rootElement = new Element("sysinfo");
    Document bbscsDocument = new Document(rootElement);
rootElement.addContent(new Element("website").addContent("a"));
    rootElement.addContent(new Element("weburl").addContent("b"));
    rootElement.addContent(new Element("forumname").addContent("c"));
    try {
XMLOutputter xmlo = new XMLOutputter("  ", true, "UTF-8");
xmlo.output(bbscsDocument, new FileOutputStream("20060508.xml"));
    }
    catch (IOException e) {
      //logger.error(e);
e.printStackTrace();
    }
}
}