[jdom-interest] ref : Exception in thread "main" java.lang.NoSuchMethodError: org.jdom.Element.addContent(Lorg/jdom/Element; )Lorg/jdom/Element;

Gunjan gunjan_s77 at hotmail.com
Mon Nov 29 05:11:22 PST 2004


Hi, 

I am new to java programing. Using Jdom in my application and getting following error while executing the application. I have both jdom.jar and xerces.jar in jre/lib/ext dir. still I am getting the following error...

Exception in thread "main" java.lang.NoSuchMethodError: org.jdom.Element.addCont 
ent(Lorg/jdom/Element;)Lorg/jdom/Element;
        at com.datacash.util.XMLDocument.set(XMLDocument.java:150)
        at com.datacash.util.XMLDocument.setUserAgentInfo(XMLDocument.java:101)
        at com.datacash.util.XMLDocument.<init>(XMLDocument.java:59)
        at com.datacash.util.XMLDocument.<init>(XMLDocument.java:39)
        at TestTransactions.main(TestTransactions.java:96)

Any body could hep me out..

Thanks in advance...

Gunjan



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.jdom.org/pipermail/jdom-interest/attachments/20041129/3fe550bb/attachment.htm


More information about the jdom-interest mailing list