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

Jason Hunter jhunter at collab.net
Thu Aug 16 11:35:07 PDT 2001


> To this, the compiler is whining (in Forte):
>     setContent(java.util.List) in org.jdom.Element cannot be applied to (java.lang.String)
> .addChild( new Element( "name")

You are trying to compile *ancient* JDOM code using the latest JDOM
library.  Method names and semantics have changed, esp getContent().  I
suggest you read the latest conference slides for a short tutorial on
the new API.

-jh-



More information about the jdom-interest mailing list