[jdom-interest] Troubles building JDOM version

philip.nelson at omniresources.com philip.nelson at omniresources.com
Fri Jul 14 08:36:34 PDT 2000

hmm... it does seem like a version problem though.  There is in fact a
getPublicId() method in that class.  I remember seeing this error too and it
was because I had a different xml jar in my class path before the one that
jdom expected.  Could you have some xml packages in your lib/ext directory?

> I am new to JDOM and seem to be having some difficulties.  I pulled down
> the jdom-05jun2000-src.tar.gz and had problems building the source The
> exact error is:


> Method getPublicId() not found in interface org.w3c.dom.DocumentType.
>                 String publicID = domDocType.getPublicId();
>                                                         ^
> Method getSystemId() not found in interface org.w3c.dom.DocumentType.
>                 String systemID = domDocType.getSystemId();
>                                                         ^
> 2 errors
> BUILD FATAL ERROR: Compile failed, messages should have been provided.

To control your jdom-interest membership:

More information about the jdom-interest mailing list