[jdom-interest] compilation problem
    Brian Wolf 
    brianw at knowledgextensions.com
       
    Mon Nov 19 12:55:20 PST 2001
    
    
  
Hi,
I am trying to compile the Count.java from the JDOM samples directory
Since getMixedContent has been deprecated by getContent, I have only made that one
substitution.
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();
                                               ^
Count.java:150: incompatible types
found   : com.sun.java.util.collections.List
required: java.util.List
 List children = element.getContent();
                                   ^
3 errors
-Brian Wolf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20011119/13f03d99/attachment.htm
    
    
More information about the jdom-interest
mailing list