[jdom-interest] Re: JDOM-b7 will not compile

Ian Lea ian.lea at blackwell.co.uk
Thu Aug 16 07:14:00 PDT 2001

More proof that you've got some odd classpath problem!
Perhaps you've got different versions of JDOM floating
around.  Check the \jre\lib\ext directory, or put JDOM
there, or something.  Seems to be what Philip is suggesting.


Mark Galbreath wrote:
> It usually is, and when I solve these things, it's usually a "doh!" experience.  Funny thing is, when I try compiling from the command prompt, I get get
> cannot resolve symbol
> symbol: method addProcessingInstruction (String,String)
> location: class org.jdom.Document
> Document doc = new Document(new Element("config", ns);
>                ^
> and when I try to compile with Forte I get
> cannot resolve symbol
> symbol: class Attribute
> location: package jdom
> import org.jdom.Attribute;
>                 ^
> What do you make of this?
> Mark

More information about the jdom-interest mailing list