users@jaxb.java.net

Re: How to preserve linefeed between tags?

From: Tom Amiro <tom.amiro_at_sun.com>
Date: Thu, 27 Feb 2003 12:32:21 -0500

Hi Leonardo,

I tested the custom JWSDP installation of JAXB (and jaxp) alone and did
not run into
any errors, at least when running the samples that come with JAXB 1.0.
Could you
give more details so I can reproduce this problem and get the installer
fixed so
that everyone will be able to install just the required components for JAXB.

Tom

Leonardo Chaves wrote:

>jaxb 1.0 does not work if you install jwsdp only with it (and jaxp).
>If you do so, you get a:
>
>java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: org
>/dom4j/io/SAXContentHandler
>at com.sun.tools.xjc.reader.dtd.TDTDReader.<init>(TDTDReader.java:117)
>at com.sun.tools.xjc.reader.dtd.TDTDReader.parse(TDTDReader.java:87)
>at com.sun.tools.xjc.Driver.loadDTDGrammar(Driver.java:565)
>at com.sun.tools.xjc.Driver.loadGrammar(Driver.java:505)
>at com.sun.tools.xjc.Driver.run(Driver.java:374)
>at com.sun.tools.xjc.Driver._main(Driver.java:113)
>at com.sun.tools.xjc.Driver.access$000(Driver.java:77)
>at com.sun.tools.xjc.Driver$1.run(Driver.java:93)
>
>It only works, when you install *the whole* package!
>
>I am trying now to solve the linefeed issue with the new version
>
>