[jdom-interest] problem with xerces.jar bundeled with JDOM beta 8
Kumar, Ajay
ajkumar at usa.capgemini.com
Wed Apr 10 07:40:03 PDT 2002
hi
recently down loaded JDOM beta 8 version and installed the JDOM and
specified xerces.jar in CLASSPATH, then compiled the program and got an
error :
HelloJDOM.java:34: cannot access org.w3c.dom.Element
file org/w3c/dom/Element.class not found
org.jdom.Document docX = builder.build(new File(args[0]));
Scenario 2: down loaded xerces seperately and installed and included
xercesImpl.jar and xmlParserAPIs.jar in CLASSPATH
and compiled the application. Then got a warning but successfully compiled:
HelloJDOM.java:34: warning: build(java.io.File) in org.jdom.input.DOMBuilder
has been deprecated
org.jdom.Document docX = builder.build(new File(args[0]));
Is any problem with the xerces.jar file bundled with JDOM ?
thanks
ajay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20020410/1784fbf9/attachment.htm
More information about the jdom-interest
mailing list