[jdom-interest] compilation problem

Bilton, Sasha Sasha.Bilton at bskyb.com
Tue Nov 20 01:52:35 PST 2001


It looks like your using the Java 1.1.8 version of jdom, not the 1.2+
version. Go to the website (www.jdom.org) and download the latest version.
If that doesn't work check that your JDK is older than 1.1.8 by doing
C:\b>javac -version

-----Original Message-----
From: Brian Wolf [mailto:brianw at knowledgextensions.com]

C:\b>javac -deprecation -classpath .;c:\jdk1.4\bin;c:\b Count.java
Count.java:125: cannot access com.sun.java.util.collections.List
file com\sun\java\util\collections\List.class not found
List children = doc.getContent();
                              ^
Count.java:146: incompatible types
found   : com.sun.java.util.collections.List
required: java.util.List
        List attributes = element.getAttributes();


**********************************************************************
Information in this email is confidential and may be privileged. 
It is intended for the addressee only. If you have received it in error,
please notify the sender immediately and delete it from your system. 
You should not otherwise copy it, retransmit it or use or disclose its
contents to anyone. 
Thank you for your co-operation.
**********************************************************************




More information about the jdom-interest mailing list