[jdom-interest] Re: Problems with com.sun.java.util.collections.List

Joseph Bowbeer jozart at csi.com
Mon Mar 19 20:49:18 PST 2001

com.sun.java.util.collections.* is only used in the JDK1.1 version of JDOM.

I suspect a mismatch between compile-time and runtime environments.

----- original message -----
From: Grande, Lynn Lynn.Grande at GD-CS.COM
Date: Mon, 19 Mar 2001 10:00:01 -0500

I have a problem using the JDOM API from within JBuilder 4: We have included
the JDOM and Xerces libraries in the Project and are creating a document and
retrieving information from it. When we try to use methods of JDOM that
return a java.util.List, we get the following error.

Error # 354, Incompatible types, found: com.sun.java.util.collections.List,
required: java.util.List

We cannot figure out why? Why do we need com.sun.java.util.collections.List
anyway and how do we get rid of it?

Lynn Grande

More information about the jdom-interest mailing list