[jdom-interest] conflicting List class

Bernd Eggink Bernd.Eggink at rrz.uni-hamburg.de
Thu Jan 22 07:07:18 PST 2004


On Thu, Jan 22, 2004 at 02:21:20PM +0100, J. Albers wrote:
 
> This problem has been mentioned a few time, but i didn't find an answer that could help me. I get the following error message
> when compiling the class with the method mentioned below.
> 
> - cannot find definition for class 'java.util.List'

Do you you import the name 'List' twice, from java.awt.* as well as
from java.util.*? In this case you have to fully qualify it, e.g.

    java.util.List as = e.getAttributes();

Regards,
Bernd

-- 
Bernd Eggink
Regionales Rechenzentrum der Uni Hamburg
Bernd.Eggink at rrz.uni-hamburg.de
http://www.rrz.uni-hamburg.de/RRZ/B.Eggink/



More information about the jdom-interest mailing list