[jdom-interest] FW: List types

Ian Lea ian at digimem.net
Mon Apr 15 05:22:00 PDT 2002


> I've just compiled the XMLProperties.java file (from Brett's Java and XML
> book) and get the following errors:
> 
> XMLProperties.java [48:1]
> loadFromElements(java.util.List,java.lang.StringBuffer) in XMLProperties
> cannot be applied to
> (com.sun.java.util.collections.List,java.lang.StringBuffer)
>             loadFromElements(doc.getRootElement().getChildren(),new
> StringBuffer(""));

Looks like you've got a mismatch between java versions.
Perhaps you are using the 1.1 version of the jdom jar file
with java 2.



--
Ian.

----------------------------------------------------------------------
Searchable personal storage and archiving from http://www.digimem.net/


More information about the jdom-interest mailing list