users@jaxb.java.net

Re: How to preserve linefeed between tags?

From: Ed Mooney <Ed.Mooney_at_Sun.COM>
Date: Thu, 27 Feb 2003 12:01:48 -0500

Hi Leonardo,

Does this happen using xjc, or trying to run your application?

Regards,
--
Ed Mooney         |Sun Microsystems, Inc.|Time flies like
Java Web Services |UBUR02-201            |an arrow, but
Ed.Mooney_at_Sun.COM |1 Network Drive       |fruit flies like
781-442-0459      |Burlington, MA  01803 |a banana. Groucho
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