[jdom-interest] PrettyPrinter compile error in JBuilder 3.5 professional

Brett McLaughlin brett.mclaughlin at lutris.com
Thu Jun 15 14:59:42 PDT 2000

> Baltasar Cevc wrote:
> Hello, Folks!
> When I try to compile PrettyPrinter in the JBuilder Environment from
> Borland/Inprise, I get the following error message. I used JDOM source
> distribution beta 4, so the newest one, as far as I know.
> As I am completely new to Java, I don't know what do do; I tried to
> include Sax 1 or 2, but it didn't change anything.
> "SaxBuilder.java": Error #302: No access to class
> org.xml.sax.ext.LexicalHandler; For org.xml.sax.ext.LexicalHandler no
> class or source were found in line 147, column 24
> "SaxBuilder.java": Error #300: Class LexicalHandler was not found in
> class org.jdom.input.SAXHandler in line 725, column 52

Ahhh... if you use the xerces.jar that comes in the distribution of
JDOM, it will work. SAX 2.0 splits that class into SAX
extensions/helpers, so if you use the newest SAX distribution, it won't
work. Just use xerces.jar in the lib/ directory.


> Thanx for help ...
> Baltasar

Brett McLaughlin
Enhydra Strategist
Lutris Technologies
1200 Pacific Avenue
Santa Cruz, CA  95060

More information about the jdom-interest mailing list