[jdom-interest] error compiling sample jdom program

Wu, Charlie cwu at netfish.com
Wed Aug 2 19:06:37 PDT 2000


Hi all:

I am trying to play with JDOM by following Jason and Brett's article on java
world http://www.javaworld.com/javaworld/jw-05-2000/jw-0518-jdom_p.html.

I downloaded the b4 release and added jdom.jar to my classpath, however I
still couldn't compile this example program WarReader.java, here's the
error.. 

D:\cwu\javaxml>javac WarReader.java
WarReader.java:21: cannot access org.xml.sax.InputSource
file org\xml\sax\InputSource.class not found
      Document doc = builder.build(new File(args[0]));
                            ^
1 error

Am I missing anything here?

Thanks

Charlie



More information about the jdom-interest mailing list