[jdom-interest] List problem...

Steve Beech JBeech at dmu.ac.uk
Fri Mar 8 04:34:05 PST 2002

Dear All,

I've managed to adjust something (outside of the code) and now my previously
working JDOM parsing class doesn't compile.
Instead I get the following error:

java.lang.NoClassDefFoundError: com/sun/java/util/collections/List
        at angelUM.WEBINF.Classes.JDOMTest.newDocument(JDOMTest.java:43)
        at angelUM.WEBINF.Classes.JDOMTest.main(JDOMTest.java:95)
Exception in thread "main" 

I was under the impression that the list of elements I am creating was of
type java.util.List, not java.util.collections.List.

If I mount the collections.jar file then I get an incompatible type error
between java.util.List and java.util.Collections.List.

Does anyone know what I've done to cause this error?



More information about the jdom-interest mailing list