[jdom-interest] Compile jdom beta 7 error

Alex Chan (IT/Systems (Derivatives)) AChan at hkex.com.hk
Mon Jul 9 21:19:30 PDT 2001


Hi all,

I have compiled JDOM beta 7 on Windows NT 4.0 workstation (service pack 4)
and got the following error. Can u suggest what I can do. Previously I have
compile beta 6, it works. 

compile:
    [javac] Compiling 1 source files to C:\Download\jdom-b7\build\classes
    [javac]
C:\Download\jdom-b7\build\src\org\jdom\transform\JDOMResult.java:0:
Note: Method void setLexicalHandler(org.xml.sax.ext.LexicalHandler) in class
org
.jdom.transform.JDOMResult does not override the corresponding method in
class j
avax.xml.transform.sax.SAXResult.  If you are trying to override this
method, yo
u cannot do so because it is private to a different package.
    [javac] /*--
    [javac] ^
    [javac]
C:\Download\jdom-b7\build\src\org\jdom\transform\JDOMResult.java:140
: No method matching
setLexicalHandler(org.jdom.transform.JDOMResult.DocumentBui
lder) found in class javax.xml.transform.sax.SAXResult.
    [javac]     super.setLexicalHandler(builder);
    [javac]                            ^
    [javac] 1 error, 1 warning

BUILD FAILED

build.xml:150: Compile failed

Regards,
Alex




More information about the jdom-interest mailing list